feat: Add intern feature, assignment to a mentor every week, follows him/her in voice channel when they join/move or disconnect
This commit is contained in:
11
setup/bot.py
11
setup/bot.py
@@ -1,10 +1,9 @@
|
||||
import discord
|
||||
from discord.ext import bridge
|
||||
# from cogs.birthday import BirthdayCog
|
||||
# from cogs.productivity import ProductivityCog
|
||||
from discord.ext import commands
|
||||
from cogs.cs import CSCog
|
||||
from cogs.insult import InsultsCog
|
||||
from cogs.roulette import RouletteCog
|
||||
from cogs.intern import InternCog
|
||||
from setup.logger import LOGGER
|
||||
|
||||
bot_intents = discord.Intents.default()
|
||||
@@ -13,13 +12,15 @@ bot_intents.members = True
|
||||
bot_intents.presences = True
|
||||
bot_intents.guilds = True
|
||||
bot_intents.reactions = True
|
||||
bot_intents.voice_states = True
|
||||
|
||||
bot = bridge.Bot(command_prefix='$', intents=bot_intents)
|
||||
bot = commands.Bot(command_prefix='$', intents=bot_intents)
|
||||
|
||||
COG_REGISTRY = {
|
||||
'cs': CSCog,
|
||||
'insult': InsultsCog,
|
||||
'roulette': RouletteCog
|
||||
'roulette': RouletteCog,
|
||||
'intern': InternCog
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user