Update tests/mod.ts intents

This commit is contained in:
Nicolás Serna 2022-07-04 00:00:45 -03:00
parent 8fd209fab7
commit e4e7d6d9f7

View File

@ -7,7 +7,7 @@ if (!token) {
throw new Error("Please provide a token"); throw new Error("Please provide a token");
} }
const intents = GatewayIntents.MessageContent | GatewayIntents.Guilds | GatewayIntents.GuildMessages; const intents = GatewayIntents.MessageContent | GatewayIntents.Guilds | GatewayIntents.GuildMessages | GatewayIntents.GuildMembers | GatewayIntents.GuildBans
const session = new Session({ token, intents }); const session = new Session({ token, intents });
session.on("ready", (payload) => { session.on("ready", (payload) => {