add debug tools

This commit is contained in:
bignutty 2025-01-08 23:58:18 +01:00
parent 4ca9780fec
commit 13e4fb2976
2 changed files with 13 additions and 1 deletions

View file

@ -43,7 +43,7 @@ module.exports.editOrReply = function(context, message, disableReference = false
}
} else {
// Uses new subtext formatting to look more "native"
message.content = `-# ${icon("flask_mini")} This response has been made incognito due to ${MESSAGE_BLOCK_REASONS[context._meta.incognitoReason].message}${link("https://support.discord.com/hc/en-us/articles/" + MESSAGE_BLOCK_REASONS[context._meta.incognitoReason].support_article, "Learn More", "Support Article")}`
message.content = `-# ${icon("flask_mini")} This response has been made incognito due to ${MESSAGE_BLOCK_REASONS[context._meta.incognitoReason].message}${link("https://support.discord.com/hc/en-us/articles/" + MESSAGE_BLOCK_REASONS[context._meta.incognitoReason].support_article, "Learn More", "Support Article")}${(context._meta.incognitoMetadata ? " • " + link(context._meta.incognitoMetadata, "Debug", "Debugging Information", false) : "")}`
}
}