raise infraction reason length limit
This commit is contained in:
parent
fefd29fbc1
commit
0408c4b0a5
3 changed files with 6 additions and 6 deletions
|
@ -69,8 +69,8 @@ export default {
|
||||||
?.replace(new RegExp('`', 'g'), '\'')
|
?.replace(new RegExp('`', 'g'), '\'')
|
||||||
?.replace(new RegExp('\n', 'g'), ' ');
|
?.replace(new RegExp('\n', 'g'), ' ');
|
||||||
|
|
||||||
if (reason.length > 200) return message.reply({
|
if (reason.length > 500) return message.reply({
|
||||||
embeds: [ embed('Ban reason may not be longer than 200 characters.', null, EmbedColor.SoftError) ]
|
embeds: [ embed('Ban reason may not be longer than 500 characters.', null, EmbedColor.SoftError) ]
|
||||||
});
|
});
|
||||||
|
|
||||||
const embeds: SendableEmbed[] = [];
|
const embeds: SendableEmbed[] = [];
|
||||||
|
|
|
@ -38,8 +38,8 @@ export default {
|
||||||
?.replace(new RegExp('`', 'g'), '\'')
|
?.replace(new RegExp('`', 'g'), '\'')
|
||||||
?.replace(new RegExp('\n', 'g'), ' ');
|
?.replace(new RegExp('\n', 'g'), ' ');
|
||||||
|
|
||||||
if (reason.length > 200) return message.reply({
|
if (reason.length > 500) return message.reply({
|
||||||
embeds: [ embed('Kick reason may not be longer than 200 characters.', null, EmbedColor.SoftError) ]
|
embeds: [ embed('Kick reason may not be longer than 500 characters.', null, EmbedColor.SoftError) ]
|
||||||
});
|
});
|
||||||
|
|
||||||
const embeds: SendableEmbed[] = [];
|
const embeds: SendableEmbed[] = [];
|
||||||
|
|
|
@ -32,8 +32,8 @@ export default {
|
||||||
?.replace(new RegExp('`', 'g'), '\'')
|
?.replace(new RegExp('`', 'g'), '\'')
|
||||||
?.replace(new RegExp('\n', 'g'), ' ');
|
?.replace(new RegExp('\n', 'g'), ' ');
|
||||||
|
|
||||||
if (reason.length > 200) return message.reply({
|
if (reason.length > 500) return message.reply({
|
||||||
embeds: [ embed('Warn reason may not be longer than 200 characters.', null, EmbedColor.SoftError) ]
|
embeds: [ embed('Warn reason may not be longer than 500 characters.', null, EmbedColor.SoftError) ]
|
||||||
});
|
});
|
||||||
|
|
||||||
const embeds: SendableEmbed[] = [];
|
const embeds: SendableEmbed[] = [];
|
||||||
|
|
Loading…
Reference in a new issue