mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-22 13:15:40 +01:00
server: add a missing intent for greeting new members
This commit is contained in:
parent
e2fb430042
commit
16455f3d33
@ -16,7 +16,7 @@ interface IModuleMap {
|
||||
|
||||
let cachedModules: IModuleMap = {};
|
||||
let cachedTriggers: ITrigger[] = [];
|
||||
const client = new discord.Client({ intents: discord.Intents.FLAGS.GUILDS | discord.Intents.FLAGS.GUILD_BANS | discord.Intents.FLAGS.GUILD_MESSAGES });
|
||||
const client = new discord.Client({ intents: discord.Intents.FLAGS.GUILD_MEMBERS | discord.Intents.FLAGS.GUILDS | discord.Intents.FLAGS.GUILD_BANS | discord.Intents.FLAGS.GUILD_MESSAGES });
|
||||
const rulesTrigger = process.env.DISCORD_RULES_TRIGGER;
|
||||
const rluesRole = process.env.DISCORD_RULES_ROLE;
|
||||
const mediaUsers = new Map();
|
||||
|
Loading…
Reference in New Issue
Block a user