mirror of
https://github.com/DarthKilroy/Spot.git
synced 2025-12-19 18:26:48 +00:00
12 lines
291 B
JavaScript
12 lines
291 B
JavaScript
const Command = require('../model/command');
|
|
|
|
/**
|
|
* @param {Message} message
|
|
*/
|
|
module.exports = async (message) => {
|
|
const user = message.author;
|
|
|
|
if ((message.guild === null || isRightGuild(message.guild.id)) && !user.bot) {
|
|
await Command.parseMessage(message);
|
|
}
|
|
};
|