Remove Valid ID Checks

This commit is contained in:
Daniel Odendahl Jr
2017-05-25 20:41:36 +00:00
parent ce5324cb4c
commit 25eb8c4342
3 changed files with 3 additions and 11 deletions
+1 -5
View File
@@ -15,11 +15,7 @@ module.exports = class UnbanCommand extends Command {
{
key: 'id',
prompt: 'What member do you want to unban? Please enter the ID of the user.',
type: 'string',
validate: id => {
if (id.length === 18) return true;
return 'Invalid ID.';
}
type: 'string'
},
{
key: 'reason',
+1 -5
View File
@@ -13,11 +13,7 @@ module.exports = class StarCommand extends Command {
{
key: 'id',
prompt: 'What is the ID of the message you wish to star?',
type: 'string',
validate: id => {
if (id.length === 18) return true;
return 'Invalid ID.';
}
type: 'string'
}
]
});
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "21.1.3",
"version": "21.1.4",
"description": "A Discord Bot",
"main": "Shard.js",
"scripts": {