23 lines
436 B
JavaScript
23 lines
436 B
JavaScript
|
const { AkairoModule } = require('discord-akairo');
|
||
|
|
||
|
class Language extends AkairoModule {
|
||
|
constructor(id, {
|
||
|
category,
|
||
|
highlight,
|
||
|
aliases,
|
||
|
options = {}
|
||
|
} = {}) {
|
||
|
super(id, { category });
|
||
|
|
||
|
this.highlight = highlight;
|
||
|
this.aliases = aliases;
|
||
|
this.options = options;
|
||
|
}
|
||
|
|
||
|
runWith() {
|
||
|
return { id: this.id, env: {} };
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = Language;
|