Add utils to define guild ids that will use this bot.

This commit is contained in:
2025-03-19 11:39:08 -04:00
parent 5c6fa4386e
commit ef92902932
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -10,12 +10,13 @@ from sqlmodel import Session, col, select
from off_cooldown_bot.app import birthday_list
from off_cooldown_bot.database.db import engine
from off_cooldown_bot.database.models import UserBirthday
from off_cooldown_bot.utils import GUILDS
class BirthdayCog(commands.Cog, name="Birthday Commands"):
"""Class holds birthday commands."""
@nextcord.slash_command(guild_ids=[1000247361639030804, 822199658306076672])
@nextcord.slash_command(guild_ids=GUILDS)
async def birthday(self, interaction: nextcord.Interaction) -> None:
"""Parent slash command for birthday. Never called."""
+3
View File
@@ -0,0 +1,3 @@
"""File contains functions and variables used widely."""
GUILDS = [1000247361639030804, 822199658306076672]