diff options
author | 2022-06-28 17:33:30 +0200 | |
---|---|---|
committer | 2022-06-28 17:33:30 +0200 | |
commit | 599f0081e9ed9a048edf2ad55f9eb35334035b39 (patch) | |
tree | 920a6a0af633d1290513003636d39eeb132d4f4d | |
parent | Merge pull request #2197 from python-discord/fix_return_button (diff) |
improve usage hint of timeit and eval command
-rw-r--r-- | bot/exts/utils/snekbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py index 98dfd2efa..5243e62f0 100644 --- a/bot/exts/utils/snekbox.py +++ b/bot/exts/utils/snekbox.py @@ -401,7 +401,7 @@ class Snekbox(Cog): break log.info(f"Re-evaluating code from message {ctx.message.id}:\n{code}") - @command(name="eval", aliases=("e",)) + @command(name="eval", aliases=("e",), usage="<code, ...>") @guild_only() @redirect_output( destination_channel=Channels.bot_commands, @@ -423,7 +423,7 @@ class Snekbox(Cog): """ await self.run_job("eval", ctx, "\n".join(code)) - @command(name="timeit", aliases=("ti",)) + @command(name="timeit", aliases=("ti",), usage="[setup_code] <code, ...>") @guild_only() @redirect_output( destination_channel=Channels.bot_commands, |