readd super Bot class call

This commit is contained in:
LBlend committed 2022-11-14 04:14:55 +01:00
1 parent 33342c5257
commit f5cbca1a5b
1 file changed
+6
+6
View File
@@ -17,6 +17,12 @@ with codecs.open("./src/config/config.yaml", "r", encoding="utf8") as f:
class Bot(commands.Bot):
def __init__(self) -> None:
super().__init__(
command_prefix=commands.when_mentioned_or(config["bot"]["prefix"]),
case_insensitive=True,
intents=discord.Intents.all()
)
self.logger = BotLogger().logger # Initialize logger
# Connect to database