diff options
| author | 2019-12-26 11:17:48 +0100 | |
|---|---|---|
| committer | 2019-12-26 11:17:48 +0100 | |
| commit | e53492ed9485e169b2fa471635c2ea624ec1d532 (patch) | |
| tree | 4aec8e1a6d1419085638ef5db8d1ca5834045d21 | |
| parent | Hardcode SIGKILL value (diff) | |
Correct eval output to include the 11th line
| -rw-r--r-- | bot/cogs/snekbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/snekbox.py b/bot/cogs/snekbox.py index e9e5465ad..00b8618e2 100644 --- a/bot/cogs/snekbox.py +++ b/bot/cogs/snekbox.py @@ -154,7 +154,7 @@ class Snekbox(Cog): lines = output.count("\n") if lines > 0: - output = output.split("\n")[:10] # Only first 10 cause the rest is truncated anyway + output = output.split("\n")[:11] # Only first 11 cause the rest is truncated anyway output = (f"{i:03d} | {line}" for i, line in enumerate(output, 1)) output = "\n".join(output) |