diff options
-rwxr-xr-x | cogs/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cogs/utils.py b/cogs/utils.py index 512505f..32ef23b 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -560,6 +560,8 @@ class Utils(commands.Cog): @commands.command(aliases=["calc"]) async def math(self, ctx, *, eqn: str): + if '"' in ctx.message or "print" in ctx.message: + return try: # Allow for proper absolute value notation pipes = eqn.count("|") |