diff --git a/cogs/basecog.py b/cogs/basecog.py index 262546c..aa84ebf 100644 --- a/cogs/basecog.py +++ b/cogs/basecog.py @@ -1,5 +1,5 @@ """ -Info cog for qrm +Base cog for qrm --- Copyright (C) 2019 Abigail Gold, 0x5c @@ -64,5 +64,10 @@ class BaseCog(commands.Cog): except: 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): bot.add_cog(BaseCog(bot))