diff --git a/bot/__init__.py b/bot/__init__.py index 1e002187..c6202396 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -529,7 +529,7 @@ class Bot(commands.Bot): # --------------------------------------------!End Events Section!---------------------------------------------- - def setup(self): + def run_bot(self): cogs = [path.split("\\")[-1][:-3] for path in glob("./cogs/*.py")] for ext in cogs: diff --git a/bot/main.py b/bot/main.py index e2b95dfe..65d8cd60 100644 --- a/bot/main.py +++ b/bot/main.py @@ -19,4 +19,5 @@ from bot import Bot # Initiating Bot Object As Client client = Bot() -client.setup() +# Run the bot +client.run_bot()