diff --git a/structure/client/components/commands/utility/Settings.js b/structure/client/components/commands/utility/Settings.js index 40e3bcb..0b96bc3 100644 --- a/structure/client/components/commands/utility/Settings.js +++ b/structure/client/components/commands/utility/Settings.js @@ -73,7 +73,7 @@ class SettingsCommand extends Command { } } - setting._caller = target; + message._settingCaller = target; if(setting.resolve === 'GUILD' && !this._checkAdministrator(message)) return undefined; //does not have admin const parameters = params.splice(1); @@ -83,7 +83,8 @@ class SettingsCommand extends Command { } if(parameters.join(' ').toLowerCase() === 'reset') { - return await setting._handleReset(message); + const { msg } = await setting._handleReset(message); + return message.respond(msg, { emoji: 'success' }); } const response = await setting.handle(message, parameters);