We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85c2d9b commit 0581f4fCopy full SHA for 0581f4f
src/main.py
@@ -38,14 +38,15 @@ async def on_ready():
38
await bot.change_presence(
39
activity=discord.Activity(type=discord.ActivityType.watching, name=f"{PREFIX}help"))
40
41
-# LOADING Extensions
42
-bot.remove_command('help') # unload default help message
43
-initial_extensions = [
44
- 'cogs.misc',
45
- 'cogs.help'
46
-]
47
48
if __name__ == '__main__':
+ # LOADING Extensions
+ bot.remove_command('help') # unload default help message
+ initial_extensions = [
+ 'cogs.misc',
+ 'cogs.help'
+ ]
49
+
50
for extension in initial_extensions:
51
bot.load_extension(extension)
52
0 commit comments