Renaming method to execute cause it looks better

pull/8/head
sgoudham 4 years ago
parent afc639ee66
commit 86190a342c

@ -542,7 +542,7 @@ class Bot(commands.Bot):
# --------------------------------------------!End Events Section!---------------------------------------------- # --------------------------------------------!End Events Section!----------------------------------------------
def Run(self): def execute(self):
"""Load the cogs and then run the bot""" """Load the cogs and then run the bot"""
for file in os.listdir(f'.{os.sep}cogs'): for file in os.listdir(f'.{os.sep}cogs'):

@ -18,5 +18,6 @@
from bot import Bot from bot import Bot
# Initiating Bot Object As Client # Initiating Bot Object As Client
client = Bot()
# Run the bot # Run the bot
client = Bot().Run() client.execute()

Loading…
Cancel
Save