mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
15 lines
372 B
JavaScript
15 lines
372 B
JavaScript
module.exports = class SlashCommand {
|
|
constructor(client, options) {
|
|
Object.defineProperty(this, 'client', { value: client });
|
|
|
|
this.name = options.name.toLowerCase();
|
|
this.description = options.description;
|
|
this.credit = options.credit || [];
|
|
this.credit.push({
|
|
name: 'Dragon Fire',
|
|
url: 'https://github.com/dragonfire535',
|
|
reason: 'Code'
|
|
});
|
|
}
|
|
};
|