add messagecontent intent

This commit is contained in:
Mylloon 2023-01-20 03:41:09 +01:00
parent afff3b5b3e
commit bbfb7fdf89
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -7,7 +7,11 @@ import { Database } from "sqlite3";
/** Creation of the client and definition of its properties. */
export default async () => {
const client: Client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages],
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
],
});
client.config = {