From afbbf1c88a41b84a8af96a5086205ed28cacad7a Mon Sep 17 00:00:00 2001 From: sgoudham Date: Wed, 1 Jul 2020 20:49:29 +0100 Subject: [PATCH] Making sure cogs can load in properly --- EnsoBot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/EnsoBot.py b/EnsoBot.py index 9f135371..86188944 100644 --- a/EnsoBot.py +++ b/EnsoBot.py @@ -18,9 +18,12 @@ client = commands.Bot( # Create a new bot description='Ensō~Chan!', # Set a description for the bot owner_id=154840866496839680) # Your unique User ID +(anime, helps, fun) = settings.extensions() +complete_list = anime + helps + fun + # Calls the cogs from the settings.py file and loads them if __name__ == '__main__': - for ext in settings.extensions: + for ext in complete_list: client.load_extension(ext)