Update main.py

This commit is contained in:
Florian Sylvain
2021-03-13 19:19:13 +01:00
committed by GitHub
parent b8ab5e6755
commit b0dec55f27
+5
View File
@@ -53,6 +53,11 @@ async def update(ctx):
os.execl(sys.executable, os.path.abspath(__file__), *sys.argv)
@bot.command(hidden=True)
async def ping(ctx):
await ctx.send('Pong !')
if __name__ == "__main__":
for extension in startup_extensions:
bot.load_extension('ext.' + extension)