From c68743f112e509da541c4b1056c0a2214afdc24d Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Wed, 19 Aug 2020 14:13:44 +0200 Subject: Removed exploit in the mainframe --- cogs/utils.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cogs') diff --git a/cogs/utils.py b/cogs/utils.py index ae5a84b..3b55211 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -382,10 +382,5 @@ class Utils(commands.Cog): output = ", ".join([*commands]) await ctx.send(f"```List of custom commands:\n{output}```") - @commands.command(aliases=['eval', 'calc']) - async def math(self, ctx, *, equation: str = "2 + 2"): - """Evaluate a mathematical equation""" - await ctx.send(f'`{equation} = {eval(equation)}`') - def setup(bot): bot.add_cog(Utils(bot)) -- cgit v1.2.3