forked from Galactic/galactic-bot
21 lines
381 B
JavaScript
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; |