Changed project structure by adding cogs for birthday feature related actions
This commit is contained in:
13
modules/setup/bot.py
Normal file
13
modules/setup/bot.py
Normal 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))
|
||||
Reference in New Issue
Block a user