mirror of
https://github.com/Floriansylvain/Risitas_BOT.git
synced 2026-08-19 11:43:16 +02:00
Update main.py
This commit is contained in:
@@ -53,6 +53,11 @@ async def update(ctx):
|
|||||||
os.execl(sys.executable, os.path.abspath(__file__), *sys.argv)
|
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__":
|
if __name__ == "__main__":
|
||||||
for extension in startup_extensions:
|
for extension in startup_extensions:
|
||||||
bot.load_extension('ext.' + extension)
|
bot.load_extension('ext.' + extension)
|
||||||
|
|||||||
Reference in New Issue
Block a user