commit
b874ded4ab
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class PingCog(commands.Cog):
|
||||||
# Commands
|
# Commands
|
||||||
@commands.command(aliases=['latency'])
|
@commands.command(aliases=['latency'])
|
||||||
async def ping(self, ctx):
|
async def ping(self, ctx):
|
||||||
await ctx.send(f'Pong! `{round(client.latency * 1000)}ms`')
|
await ctx.send(f'Pong! {round(client.latency * 1000)}ms')
|
||||||
|
|
||||||
def setup(client):
|
def setup(client):
|
||||||
client.add_cog(PingCog(client))
|
client.add_cog(PingCog(client))
|
||||||
Loading…
Add table
Add a link
Reference in a new issue