diff options
author | Mango0x45 <thomasvoss@live.com> | 2020-08-19 12:14:55 +0000 |
---|---|---|
committer | Mango0x45 <thomasvoss@live.com> | 2020-08-19 12:14:55 +0000 |
commit | 8aa1715eca49d66a0696a622c595621c56c3ff69 (patch) | |
tree | c8ef69e0fbe48dc8c87713e5527de46bbfb78715 /cogs | |
parent | fe426b2f2ca56edfd949bd6e8778ffdd1d418f84 (diff) | |
parent | c68743f112e509da541c4b1056c0a2214afdc24d (diff) | |
download | steve-bot-8aa1715eca49d66a0696a622c595621c56c3ff69.tar steve-bot-8aa1715eca49d66a0696a622c595621c56c3ff69.tar.gz steve-bot-8aa1715eca49d66a0696a622c595621c56c3ff69.tar.bz2 steve-bot-8aa1715eca49d66a0696a622c595621c56c3ff69.tar.lz steve-bot-8aa1715eca49d66a0696a622c595621c56c3ff69.tar.xz steve-bot-8aa1715eca49d66a0696a622c595621c56c3ff69.tar.zst steve-bot-8aa1715eca49d66a0696a622c595621c56c3ff69.zip |
Merge branch 'master' of https://github.com/AnInternetTroll/mcbeDiscordBot
Diffstat (limited to 'cogs')
-rwxr-xr-x | cogs/utils.py | 5 |
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)) |