mirror of
https://github.com/DarthKilroy/Spot.git
synced 2025-12-20 02:36:49 +00:00
Initial commit
This commit is contained in:
commit
8ae81f1cc6
24 changed files with 1425 additions and 0 deletions
12
event/bot/message.js
Normal file
12
event/bot/message.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
const Command = require('../../model/command');
|
||||
|
||||
/**
|
||||
* @param {Message} message
|
||||
*/
|
||||
module.exports = async (message) => {
|
||||
const user = message.author;
|
||||
|
||||
if (!user.bot) {
|
||||
await Command.parseMessage(message);
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue