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