add ping command

This commit is contained in:
SosoM1k0r31z31 2020-11-15 09:33:36 +03:00
parent 222ad4b9b9
commit b29fc50747
1 changed files with 6 additions and 1 deletions

7
bot.py
View File

@ -1569,7 +1569,7 @@ async def character(ctx, char):
await ctx.send(charlink("satania"))
elif char.lower() == "mankanshoku":
await ctx.send(charlink("mankanshoku"))
elif char.lower() in "saren":
await ctx.send("An error occured, Please try again.")
elif char.lower() in "pecorine":
@ -1581,5 +1581,10 @@ async def character(ctx, char):
await ctx.send("```unknown character\n\nsee %character list for a list of characters```")
@bot.command()
async def ping(ctx):
await ctx.send(f'My ping is {bot.latency}!')
bot.run(TOKEN)