mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-12-23 04:55:29 +00: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 cachedModules: IModuleMap = {};
|
||||||
let cachedTriggers: ITrigger[] = [];
|
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 rulesTrigger = process.env.DISCORD_RULES_TRIGGER;
|
||||||
const rluesRole = process.env.DISCORD_RULES_ROLE;
|
const rluesRole = process.env.DISCORD_RULES_ROLE;
|
||||||
const mediaUsers = new Map();
|
const mediaUsers = new Map();
|
||||||
|
|
Loading…
Reference in a new issue