aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
Diffstat (limited to 'cogs')
-rwxr-xr-xcogs/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/utils.py b/cogs/utils.py
index 3acc8fc..ee40900 100755
--- a/cogs/utils.py
+++ b/cogs/utils.py
@@ -439,7 +439,7 @@ class Utils(commands.Cog):
await ctx.send(f"```List of custom commands:\n{output}```")
@commands.command(aliases=["calc"])
- async def math(self, ctx, eqn):
+ async def math(self, ctx, *, eqn):
try:
result = subprocess.check_output(f"echo '{eqn}' | bc", shell=True)
await ctx.send(result.decode("utf-8").replace("\\\n", "").strip())