diff --git a/cogs/info.py b/cogs/info.py index 509864f5..15a58fcd 100644 --- a/cogs/info.py +++ b/cogs/info.py @@ -52,11 +52,16 @@ def DetectPermissions(message, fset): class Info(commands.Cog): - """User/Server/Bot Information!""" + """(User/Server/Bot etc) Information!""" def __init__(self, bot): self.bot = bot + @command(name="ping", aliases=["Ping"]) + async def _ping(self, ctx): + """Sends the latency of the bot (ms)""" + await ctx.send(f'Pong! `{round(self.bot.latency * 1000)}ms`') + @command(name="userinfo", aliases=["ui"]) @cooldown(1, 5, BucketType.user) async def user_info(self, ctx, target: Optional[Member]):