woomy-v2/bot/base/Command.js

23 lines
710 B
JavaScript
Raw Normal View History

module.exports = class Command {
constructor (name, category) {
// Gateway stuff
this.name = name,
2022-12-12 01:25:48 +00:00
this.description = 'No description provided.',
this.options = [],
this.permissions = {
2022-12-12 01:25:48 +00:00
DEFAULT_MEMBER_PERMISSIONS: 'SendMessages'
};
this.dm_permission = false,
// Extra stuff Woomy uses internally
this.category = category,
2022-12-12 01:25:48 +00:00
this.usage = 'No usage information provided.',
this.friendlyOptions = 'No options provided.',
this.enabled = true,
this.devOnly = false,
2022-12-12 01:25:48 +00:00
this.cooldown = 2000;
}
run (client, interaction, data) { //eslint-disable-line no-unused-vars
}
};