Changed project structure by adding cogs for birthday feature related actions

This commit is contained in:
2023-11-08 21:26:58 +01:00
parent 51baffb390
commit de90b874fc
4 changed files with 132 additions and 0 deletions

13
modules/setup/bot.py Normal file
View File

@@ -0,0 +1,13 @@
import discord
from ..cogs.birthday import BirthdayCog
bot_intents = discord.Intents.default()
bot_intents.message_content = True
bot_intents.members = True
bot_intents.presences = True
bot_intents.guilds = True
bot_intents.reactions = True
bot = discord.Bot(command_prefix='$', intents=bot_intents)
bot.add_cog(BirthdayCog(bot))