galactic-bot/structure/extensions/Message.js

25 lines
419 B
JavaScript
Raw Normal View History

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