From 24d974befc8307138384c27d604c8b220201d83a Mon Sep 17 00:00:00 2001 From: Mango0x45 Date: Sun, 3 Jan 2021 15:50:31 +0100 Subject: Spaces work pls --- cogs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cogs') 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()) -- cgit v1.2.3