aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy-azure.sh
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-09-14 20:17:43 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2019-09-14 20:22:32 +0200
commit6dec487d58c936be9f224b2b2b2e871cc67f34d2 (patch)
treefc262661da6fee03725fd5c5ee1a60c00c79ad29 /scripts/deploy-azure.sh
parentFix tag command invocation in aliases (diff)
Improve handling of long deleted messsages
The `modlog` cog failed on long messages with attachments, since the inclusion of attachment metadata would bring the length of the embed description to go over the character limit of 2048. To fix this, I moved the addition of the attachment metadata to earlier in the code so it is taken into account for the character limit. In addition to this, I changed the truncation behavior. Instead of just truncating the message if it's too long, we now truncate and upload the full message to the `deleted messages` endpoint so the full message is still available. A link to the log will be included in the message-log embed.
Diffstat (limited to 'scripts/deploy-azure.sh')
0 files changed, 0 insertions, 0 deletions