Framework Rewrite

This commit is contained in:
Dragon Fire
2021-06-05 12:17:33 -04:00
parent 5c9f237321
commit 7917766ce3
48 changed files with 1101 additions and 294 deletions
+21
View File
@@ -0,0 +1,21 @@
const { Structures } = require('discord.js');
module.exports = Structures.extend('Message', Message => {
return class CommandMessage extends Message {
constructor(...args) {
super(...args);
}
say(content, options) {
return this.channel.send(content, options);
}
embed(embed, options) {
return this.channel.send('', { embed, ...options });
}
code(lang, content, options) {
return this.channel.send(content, { code: lang, ...options });
}
}
});