diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2020-08-19 12:13:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 12:13:44 +0000 |
commit | c68743f112e509da541c4b1056c0a2214afdc24d (patch) | |
tree | 3a598cde5fd132d10b6a4eb88303e04bb52c74c7 /cogs/utils.py | |
parent | 2690371183f70ab6b6912a29aa47589a202caac5 (diff) | |
download | steve-bot-c68743f112e509da541c4b1056c0a2214afdc24d.tar steve-bot-c68743f112e509da541c4b1056c0a2214afdc24d.tar.gz steve-bot-c68743f112e509da541c4b1056c0a2214afdc24d.tar.bz2 steve-bot-c68743f112e509da541c4b1056c0a2214afdc24d.tar.lz steve-bot-c68743f112e509da541c4b1056c0a2214afdc24d.tar.xz steve-bot-c68743f112e509da541c4b1056c0a2214afdc24d.tar.zst steve-bot-c68743f112e509da541c4b1056c0a2214afdc24d.zip |
Removed exploit in the mainframe
Diffstat (limited to 'cogs/utils.py')
-rwxr-xr-x | cogs/utils.py | 5 |
1 files changed, 0 insertions, 5 deletions
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)) |