raise infraction reason length limit

This commit is contained in:
Jan 2022-10-27 09:47:23 +02:00
parent fefd29fbc1
commit 0408c4b0a5
3 changed files with 6 additions and 6 deletions

View file

@ -69,8 +69,8 @@ export default {
?.replace(new RegExp('`', 'g'), '\'')
?.replace(new RegExp('\n', 'g'), ' ');
if (reason.length > 200) return message.reply({
embeds: [ embed('Ban reason may not be longer than 200 characters.', null, EmbedColor.SoftError) ]
if (reason.length > 500) return message.reply({
embeds: [ embed('Ban reason may not be longer than 500 characters.', null, EmbedColor.SoftError) ]
});
const embeds: SendableEmbed[] = [];

View file

@ -38,8 +38,8 @@ export default {
?.replace(new RegExp('`', 'g'), '\'')
?.replace(new RegExp('\n', 'g'), ' ');
if (reason.length > 200) return message.reply({
embeds: [ embed('Kick reason may not be longer than 200 characters.', null, EmbedColor.SoftError) ]
if (reason.length > 500) return message.reply({
embeds: [ embed('Kick reason may not be longer than 500 characters.', null, EmbedColor.SoftError) ]
});
const embeds: SendableEmbed[] = [];

View file

@ -32,8 +32,8 @@ export default {
?.replace(new RegExp('`', 'g'), '\'')
?.replace(new RegExp('\n', 'g'), ' ');
if (reason.length > 200) return message.reply({
embeds: [ embed('Warn reason may not be longer than 200 characters.', null, EmbedColor.SoftError) ]
if (reason.length > 500) return message.reply({
embeds: [ embed('Warn reason may not be longer than 500 characters.', null, EmbedColor.SoftError) ]
});
const embeds: SendableEmbed[] = [];