diff options
author | Mango0x45 <thomasvoss@live.com> | 2021-01-03 14:50:31 +0000 |
---|---|---|
committer | Mango0x45 <thomasvoss@live.com> | 2021-01-03 14:50:31 +0000 |
commit | 24d974befc8307138384c27d604c8b220201d83a (patch) | |
tree | 7fd08b95d3aa82d0372f0cac79907f2e2eeae728 /cogs | |
parent | d224135b021e225b776fa5ef263ce6da2805d254 (diff) | |
download | steve-bot-24d974befc8307138384c27d604c8b220201d83a.tar steve-bot-24d974befc8307138384c27d604c8b220201d83a.tar.gz steve-bot-24d974befc8307138384c27d604c8b220201d83a.tar.bz2 steve-bot-24d974befc8307138384c27d604c8b220201d83a.tar.lz steve-bot-24d974befc8307138384c27d604c8b220201d83a.tar.xz steve-bot-24d974befc8307138384c27d604c8b220201d83a.tar.zst steve-bot-24d974befc8307138384c27d604c8b220201d83a.zip |
Spaces work pls
Diffstat (limited to 'cogs')
-rwxr-xr-x | cogs/utils.py | 2 |
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()) |