add ping command
This commit is contained in:
parent
222ad4b9b9
commit
b29fc50747
7
bot.py
7
bot.py
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue