aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2020-08-19 12:13:44 +0000
committerGitHub <noreply@github.com>2020-08-19 12:13:44 +0000
commitc68743f112e509da541c4b1056c0a2214afdc24d (patch)
tree3a598cde5fd132d10b6a4eb88303e04bb52c74c7 /cogs
parent2690371183f70ab6b6912a29aa47589a202caac5 (diff)
downloadsteve-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')
-rwxr-xr-xcogs/utils.py5
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))