Changing commentary of ping command

pull/8/head
sgoudham 4 years ago
parent ff2070e80a
commit badbe26408

@ -95,8 +95,8 @@ async def on_ready():
# Bot ~Ping command in milliseconds # Bot ~Ping command in milliseconds
@client.command(name="ping", aliases=["Ping"]) @client.command(name="ping", aliases=["Ping"])
async def ping(ctx): async def _ping(ctx):
"""Send the latency of the bot (ms)""" """Sends the latency of the bot (ms)"""
await ctx.send(f'Pong! `{round(client.latency * 1000)}ms`') await ctx.send(f'Pong! `{round(client.latency * 1000)}ms`')

Loading…
Cancel
Save