some bullshit
This commit is contained in:
parent
9f79b62e72
commit
7121675251
@ -93,7 +93,7 @@ class SettingsCommand extends Command {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if(parameters.join(' ').toLowerCase() === 'reset') {
|
||||
if(['reset', 'clear'].includes(parameters.join(' ').toLowerCase())) {
|
||||
const { msg } = await setting._handleReset(message);
|
||||
return message.respond(msg, { emoji: 'success' });
|
||||
}
|
||||
@ -162,7 +162,8 @@ class SettingsCommand extends Command {
|
||||
}
|
||||
|
||||
let fields = setting.fields(message.guild);
|
||||
if(fields instanceof Promise) fields = await fields;
|
||||
if (fields instanceof Promise) fields = await fields;
|
||||
//console.log(fields)
|
||||
|
||||
const embed = {
|
||||
author: {
|
||||
|
Loading…
Reference in New Issue
Block a user