Spot/event/bot/message.js

13 lines
232 B
JavaScript
Raw Normal View History

2021-05-02 20:00:36 -04:00
const Command = require('../../model/command');
/**
* @param {Message} message
*/
module.exports = async (message) => {
const user = message.author;
if (!user.bot) {
await Command.parseMessage(message);
}
};