Skip to content

Commit 3b5b779

Browse files
committed
Fix overflow characters in logs when using ?debug command.
1 parent 5fc56c2 commit 3b5b779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogs/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ async def debug(self, ctx):
427427
msg = "```Haskell\n"
428428
msg += line
429429
if len(msg) + 3 > 2000:
430-
msg = msg[:1993] + "[...]```"
430+
msg = msg[:1992] + "[...]```"
431431
messages.append(msg)
432432
msg = "```Haskell\n"
433433

0 commit comments

Comments
 (0)