From 6b6b10d6365360e1dd7b78bfb369ceef0b1079f3 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Wed, 1 Jul 2020 20:49:56 +0100 Subject: [PATCH] Returning a tuple of cogs --- settings.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/settings.py b/settings.py index 24370ca6..e26ba366 100644 --- a/settings.py +++ b/settings.py @@ -45,7 +45,13 @@ channels = ["enso-chan-commands", "picto-chat", 663651584399507481] # Grabbing the list of colours colour_list = [c for c in colors.values()] -# Instantiates a list for all the cogs -extensions = ['cogs.AnimeImages', 'cogs.FunCommands', 'cogs.GetInfo', - 'cogs.HelpCommands', 'cogs.OwOText', 'cogs.Embeds', - 'cogs.Reminder', 'cogs.HelpMenu'] + +def extensions(): + # Instantiates a list for all the cogs + anime_ext = ['cogs.anime.interactive', 'cogs.anime.waifu_husbandos'] + + help_ext = ['cogs.help.admin', 'cogs.help.help', 'cogs.help.self_roles', 'cogs.help.info'] + + fun_ext = ['cogs.fun.8ball', 'cogs.fun.enso', 'cogs.fun.fun', 'cogs.fun.owo_text', 'cogs.fun.reminder'] + + return (anime_ext, help_ext, fun_ext)