fixed ping and moderation
This commit is contained in:
parent
d1011f3430
commit
4cddba1004
4 changed files with 20 additions and 11 deletions
|
|
@ -9,8 +9,7 @@ class PingCog(commands.Cog):
|
|||
# Commands
|
||||
@commands.command(aliases=['latency'])
|
||||
async def ping(self, ctx):
|
||||
# await ctx.send(f'Pong! {client.latency}ms')
|
||||
await ctx.send('Pong!')
|
||||
|
||||
await ctx.send(f'Pong! {round(self.client.latency * 1000)}ms')
|
||||
|
||||
def setup(client):
|
||||
client.add_cog(PingCog(client))
|
||||
Loading…
Add table
Add a link
Reference in a new issue