This commit is contained in:
Dragon Fire
2021-06-05 12:31:10 -04:00
parent 7917766ce3
commit 8809dee34c
19 changed files with 82 additions and 83 deletions
+2 -5
View File
@@ -1,11 +1,7 @@
const { Structures } = require('discord.js');
module.exports = Structures.extend('Message', Message => {
return class CommandMessage extends Message {
constructor(...args) {
super(...args);
}
class CommandMessage extends Message {
say(content, options) {
return this.channel.send(content, options);
}
@@ -18,4 +14,5 @@ module.exports = Structures.extend('Message', Message => {
return this.channel.send(content, { code: lang, ...options });
}
}
return CommandMessage;
});