generated from Baipyrus/DiscordJS-Template
prepare messageCreate event
This commit is contained in:
parent
272525ad9c
commit
e2ef65203e
8
events/messages/messageCreate.js
Normal file
8
events/messages/messageCreate.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import { Keywords, Responses, sequelize } from '../../database.js';
|
||||||
|
import { Events, Message } from 'discord.js';
|
||||||
|
import { Op } from 'sequelize';
|
||||||
|
|
||||||
|
export const name = Events.MessageCreate;
|
||||||
|
/** @param {Message} message */
|
||||||
|
export async function execute(message) {
|
||||||
|
}
|
1
index.js
1
index.js
@ -19,6 +19,7 @@ const runClient = (commands, events) => {
|
|||||||
GatewayIntentBits.Guilds,
|
GatewayIntentBits.Guilds,
|
||||||
GatewayIntentBits.GuildMembers,
|
GatewayIntentBits.GuildMembers,
|
||||||
GatewayIntentBits.GuildMessages,
|
GatewayIntentBits.GuildMessages,
|
||||||
|
GatewayIntentBits.MessageContent,
|
||||||
GatewayIntentBits.GuildVoiceStates,
|
GatewayIntentBits.GuildVoiceStates,
|
||||||
GatewayIntentBits.GuildMessageReactions
|
GatewayIntentBits.GuildMessageReactions
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user