aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2022-06-28 17:33:56 +0200
committerGravatar Numerlor <[email protected]>2022-06-28 17:33:56 +0200
commit0f1aa07b98c738475d6b920102803be46111f32e (patch)
tree3d579d595928706deac016b74593432df3ba2919
parentimprove usage hint of timeit and eval command (diff)
document eval command accepting multiple codeblocks
-rw-r--r--bot/exts/utils/snekbox.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py
index 5243e62f0..48bb1d3de 100644
--- a/bot/exts/utils/snekbox.py
+++ b/bot/exts/utils/snekbox.py
@@ -418,6 +418,9 @@ class Snekbox(Cog):
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.
+ If multiple codeblocks are in a message, all of them will be joined and evaluated,
+ ignoring the text outside of them.
+
We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!
"""