round two ping with time

This commit is contained in:
Raatty 2018-05-22 21:24:24 +12:00 committed by GitHub
parent 8c0ba95ca7
commit a08f6f5556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ class CogName:
now = ctx.message.created_at
msg = await ctx.send('Pong')
sub = msg.created_at - now
await ctx.edit(content=f'Pong, {sub.total_seconds() * 1000})
await ctx.edit(content=f'Pong, {sub.total_seconds() * 1000}')
def setup(bot):