mirror of
https://github.com/miaowware/qrm2.git
synced 2025-08-02 21:32:26 -04:00
Ping! Pong! The witch is dead
This commit is contained in:
parent
517a13b7c3
commit
067adb0252
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
Info cog for qrm
|
Base cog for qrm
|
||||||
---
|
---
|
||||||
|
|
||||||
Copyright (C) 2019 Abigail Gold, 0x5c
|
Copyright (C) 2019 Abigail Gold, 0x5c
|
||||||
@ -64,5 +64,10 @@ class BaseCog(commands.Cog):
|
|||||||
except:
|
except:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@bot.command(name="ping")
|
||||||
|
async def _ping(self, ctx):
|
||||||
|
await ctx.send(f'**Pong!** Current ping is {self.bot.latency*1000:.1f} ms')
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
bot.add_cog(BaseCog(bot))
|
bot.add_cog(BaseCog(bot))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user