galactic-bot/structure/extensions/Message.js
2020-04-08 10:08:46 -06:00

21 lines
381 B
JavaScript

const { Structures } = require('discord.js');
const Message = Structures.extend('Message', (Message) => {
class ExtendedMessage extends Message {
constructor(...args) {
super(...args);
this.command = null; //Will set to command if the message induces a command.
}
}
return ExtendedMessage;
});
module.exports = Message;