forked from Galactic/galactic-bot
usageembed in command update
This commit is contained in:
parent
3195377d57
commit
fe61f9c93f
@ -50,10 +50,10 @@ class Command extends Component {
|
||||
throw new Error(`${this.resolveable} is missing an execute function.`);
|
||||
}
|
||||
|
||||
usageEmbed(interaction, verbose = false) {
|
||||
usageEmbed(invoker, verbose = false) {
|
||||
|
||||
const fields = [];
|
||||
const { guild, subcommand } = interaction;
|
||||
const { guild, subcommand } = invoker;
|
||||
const { permissions: { type } } = guild._settings;
|
||||
|
||||
if (this.options.length) {
|
||||
|
Loading…
Reference in New Issue
Block a user