Merge pull request #8 from iakrules/ping

Update pingCog.py
This commit is contained in:
ishaan 2021-05-18 19:02:11 -04:00 committed by GitHub
commit e9a8ae1443
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ class PingCog(commands.Cog):
# Commands
@commands.command(aliases=['latency'])
async def ping(self, ctx):
await ctx.send(f'Pong! {round(client.latency * 1000)}ms')
await ctx.send(f'Pong! {client.latency}ms')
def setup(client):
client.add_cog(PingCog(client))