We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 573cb4a commit c847819Copy full SHA for c847819
1 file changed
techsupport_bot/commands/correct.py
@@ -62,6 +62,13 @@ async def correct_command(
62
)
63
return
64
65
+ if updated_message.count("\n") > 15:
66
+ await auxiliary.send_deny_embed(
67
+ message="The corrected message has too many lines to send",
68
+ channel=ctx.channel,
69
+ )
70
+ return
71
+
72
embed = auxiliary.generate_basic_embed(
73
title="Correction!",
74
description=f"{updated_message} :white_check_mark:",
0 commit comments