forked from blizzthewolf/SeaCogs
fix(moderation): reduced maximum reason size in history embeds from 150 to 125
This commit is contained in:
parent
d67f73ab91
commit
f12f4b5406
1 changed files with 2 additions and 2 deletions
|
@ -1029,8 +1029,8 @@ class Moderation(commands.Cog):
|
|||
field_name = f"Case #{case['moderation_id']} ({str.title(case['moderation_type'])})"
|
||||
field_value = f"**Target:** `{target_name}` ({target_user['id']})\n**Moderator:** `{moderator_name}` ({moderator_user['id']})"
|
||||
|
||||
if len(case['reason']) > 150:
|
||||
field_value += f"\n**Reason:** `{str(case['reason'])[:150]}...`"
|
||||
if len(case['reason']) > 125:
|
||||
field_value += f"\n**Reason:** `{str(case['reason'])[:125]}...`"
|
||||
else:
|
||||
field_value += f"\n**Reason:** `{str(case['reason'])}`"
|
||||
|
||||
|
|
Loading…
Reference in a new issue