mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 22:32:50 +02:00
Change some strings
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = class BanCommand extends Command {
|
||||
type: 'string',
|
||||
validate: reason => {
|
||||
if (reason.length < 140) return true;
|
||||
return 'Please keep the reason under 140 characters.';
|
||||
return 'Invalid reason, please keep the reason under 140 characters.';
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -23,7 +23,7 @@ module.exports = class HackbanCommand extends Command {
|
||||
type: 'string',
|
||||
validate: reason => {
|
||||
if (reason.length < 140) return true;
|
||||
return 'Please keep the reason under 140 characters.';
|
||||
return 'Invalid reason, please keep the reason under 140 characters.';
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -24,7 +24,7 @@ module.exports = class KickCommand extends Command {
|
||||
type: 'string',
|
||||
validate: reason => {
|
||||
if (reason.length < 140) return true;
|
||||
return 'Please keep the reason under 140 characters.';
|
||||
return 'Invalid reason, please keep the reason under 140 characters.';
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -22,7 +22,7 @@ module.exports = class PruneCommand extends Command {
|
||||
type: 'integer',
|
||||
validate: count => {
|
||||
if (count < 100 && count > 0) return true;
|
||||
return 'Count must be from 1-99.';
|
||||
return 'Invalid count, please enter a number from 1-99.';
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -24,7 +24,7 @@ module.exports = class SoftbanCommand extends Command {
|
||||
type: 'string',
|
||||
validate: reason => {
|
||||
if (reason.length < 140) return true;
|
||||
return 'Please keep the reason under 140 characters.';
|
||||
return 'Invalid reason, please keep the reason under 140 characters.';
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -23,7 +23,7 @@ module.exports = class UnbanCommand extends Command {
|
||||
type: 'string',
|
||||
validate: reason => {
|
||||
if (reason.length < 140) return true;
|
||||
return 'Please keep the reason under 140 characters.';
|
||||
return 'Invalid reason, please keep the reason under 140 characters.';
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user