2020-04-08 18:08:46 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-04-09 23:08:28 +02:00
|
|
|
async respond() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-04-08 18:08:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
return ExtendedMessage;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = Message;
|