Units added to ping
This commit is contained in:
parent
6bcae42080
commit
523485461f
@ -17,7 +17,7 @@ class CogName:
|
|||||||
now = ctx.message.created_at
|
now = ctx.message.created_at
|
||||||
msg = await ctx.send('Pong')
|
msg = await ctx.send('Pong')
|
||||||
sub = msg.created_at - now
|
sub = msg.created_at - now
|
||||||
await msg.edit(content=f'🏓Pong, **{sub.total_seconds() * 1000}**')
|
await msg.edit(content=f'🏓Pong, **{sub.total_seconds() * 1000}ms**')
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user