FEAT: added birthday module

This commit is contained in:
Dan
2024-06-25 15:35:40 -04:00
parent 6997d96dbd
commit 8509bcc98f
3 changed files with 116 additions and 1 deletions

View File

@@ -37,12 +37,17 @@ class Selena(discord.Client):
xp = XP(self)
xp.setup(self.tree)
if config['modules']['birthday']['enabled']:
from modules.user.birthday import Birthday
birthday = Birthday(self)
birthday.setup(self.tree)
bot = Selena()
@bot.event
async def on_ready():
logging.info(f'Bot {bot.user.name} has connected to Discord!')
logging.info(f'{bot.user.name} has connected to Discord!')
bot.run(TOKEN)