aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-10-15 13:36:59 -0700
committerGravatar MarkKoz <[email protected]>2020-10-15 13:36:59 -0700
commitc77e88c564aa83bc5544b681ed86f001d8a3b865 (patch)
tree9616f1293d33893827815c8c181e9aa6deafaf3b
parentCode block: fix _fix_indentation failing for line counts of 1 (diff)
Snekbox: raise paste character length
It doesn't make sense for it to be at 1000 when the code gets truncated to 1000 as well. Fixes #1239
-rw-r--r--bot/exts/utils/snekbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py
index ca6fbf5cb..59a27a2be 100644
--- a/bot/exts/utils/snekbox.py
+++ b/bot/exts/utils/snekbox.py
@@ -38,7 +38,7 @@ RAW_CODE_REGEX = re.compile(
re.DOTALL # "." also matches newlines
)
-MAX_PASTE_LEN = 1000
+MAX_PASTE_LEN = 10000
# `!eval` command whitelists
EVAL_CHANNELS = (Channels.bot_commands, Channels.esoteric, Channels.code_help_voice)