From f5cbca1a5b76ed7390c1a3eaa93f7bd850da6511 Mon Sep 17 00:00:00 2001 From: LBlend Date: Mon, 14 Nov 2022 04:14:55 +0100 Subject: [PATCH] readd super Bot class call --- src/run.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/run.py b/src/run.py index 3749d3c..33b1187 100644 --- a/src/run.py +++ b/src/run.py @@ -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