diff --git a/src/main/cogs/tools.py b/src/main/cogs/tools.py index ace1ba5..2f7f7a2 100644 --- a/src/main/cogs/tools.py +++ b/src/main/cogs/tools.py @@ -48,7 +48,7 @@ class Utils: async def ping(self, ctx): global command_dict - await ctx.send(ctx.message.author.mention + ' 🏓 `' + str(int(self.bot.latency * 1000)) + 'ms`', delete_after=5) + await ctx.send(ctx.message.author.mention + ' 🏓 `' + str(round(self.bot.latency * 1000)) + 'ms`', delete_after=5) command_dict.setdefault(str(ctx.message.author.id), {}).update({'command': ctx.command}) @commands.command(aliases=['pre'], brief='List bot prefixes', description='Shows all used prefixes')