diff --git a/heroku/__main__.py b/heroku/__main__.py index 6790efa..e856675 100644 --- a/heroku/__main__.py +++ b/heroku/__main__.py @@ -86,7 +86,6 @@ else: except ImportError: print("\U0001F504 Installing dependencies...") deps() - print(traceback.format_exc()) restart() try: @@ -96,7 +95,6 @@ else: except ImportError as e: print(f"{str(e)}\n\U0001F504 Attempting dependencies installation... Just wait ⏱") deps() - print(traceback.format_exc()) restart() if "HEROKU_DO_NOT_RESTART" in os.environ: diff --git a/heroku/modules/executor.py b/heroku/modules/executor.py index 1739264..8ae4fb6 100644 --- a/heroku/modules/executor.py +++ b/heroku/modules/executor.py @@ -124,4 +124,4 @@ class Executor(loader.Module): if res or res == 0 or res == False and res is not None: result += self.strings["res_return"].format(res={res}) - return await utils.answer(message, self.strings["result"].format(code={code}, result={result}, time=round({stop_time} - {start_time}, 5))) \ No newline at end of file + return await utils.answer(message, self.strings["result"].format(code=code, result=result, time=round(stop_time - start_time, 5))) \ No newline at end of file diff --git a/heroku/modules/settings.py b/heroku/modules/settings.py index fe44518..a77fab3 100644 --- a/heroku/modules/settings.py +++ b/heroku/modules/settings.py @@ -227,11 +227,13 @@ class CoreMod(loader.Module): await utils.answer( message, self.strings("aliases") + + "
" + "\n".join( [ (self.config["alias_emoji"] + f" {i} <- {y}") for i, y in self.allmodules.aliases.items() ] + + "
" ), ) diff --git a/heroku/version.py b/heroku/version.py index b043210..06e7fe7 100644 --- a/heroku/version.py +++ b/heroku/version.py @@ -11,7 +11,7 @@ # You can redistribute it and/or modify it under the terms of the GNU AGPLv3 # 🔑 https://www.gnu.org/licenses/agpl-3.0.html -__version__ = (1, 7, 0) +__version__ = (1, 7, 1) import os