diff --git a/structure/client/components/commands/utility/Settings.js b/structure/client/components/commands/utility/Settings.js index 05875b5..8360136 100644 --- a/structure/client/components/commands/utility/Settings.js +++ b/structure/client/components/commands/utility/Settings.js @@ -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: {