Styling ping command

This commit is contained in:
Raatty 2018-05-23 12:04:31 +12:00 committed by GitHub
parent 54923788c7
commit 6bcae42080
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 msg.edit(content=f'Pong, {sub.total_seconds() * 1000}')
await msg.edit(content=f'🏓Pong, **{sub.total_seconds() * 1000}**')
def setup(bot):