diff options
| author | 2020-10-15 13:36:59 -0700 | |
|---|---|---|
| committer | 2020-10-15 13:36:59 -0700 | |
| commit | c77e88c564aa83bc5544b681ed86f001d8a3b865 (patch) | |
| tree | 9616f1293d33893827815c8c181e9aa6deafaf3b | |
| parent | Code 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
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/utils/snekbox.py | 2 |
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) |