This commit is contained in:
Dragon Fire
2021-06-05 22:08:23 -04:00
parent 864658e66e
commit f45a2dd60c
+4
View File
@@ -13,6 +13,10 @@ module.exports = Structures.extend('Message', Message => {
code(lang, content, options) { code(lang, content, options) {
return this.channel.send(content, { code: lang, ...options }); return this.channel.send(content, { code: lang, ...options });
} }
direct(content, options) {
return this.author.send(content, options);
}
} }
return CommandMessage; return CommandMessage;
}); });