mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
readd super Bot class call
This commit is contained in:
1 file changed
+6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user