disallow @everyone
This commit is contained in:
parent
b561f80835
commit
1f2fd34ac5
1 changed files with 9 additions and 3 deletions
12
bot/index.js
12
bot/index.js
|
@ -101,7 +101,7 @@ class WoomyClient extends Discord.Client {
|
|||
const client = new WoomyClient({
|
||||
shards: 'auto',
|
||||
partials: [
|
||||
Discord.Partials.Reaction,
|
||||
Discord.Partials.Reaction
|
||||
],
|
||||
intents: [
|
||||
Discord.GatewayIntentBits.Guilds,
|
||||
|
@ -110,8 +110,14 @@ const client = new WoomyClient({
|
|||
Discord.GatewayIntentBits.GuildVoiceStates,
|
||||
Discord.GatewayIntentBits.GuildMessages,
|
||||
Discord.GatewayIntentBits.MessageContent,
|
||||
Discord.GatewayIntentBits.GuildMessageReactions,
|
||||
]
|
||||
Discord.GatewayIntentBits.GuildMessageReactions
|
||||
],
|
||||
allowedMentions: {
|
||||
parse: [
|
||||
'users',
|
||||
'roles'
|
||||
]
|
||||
}
|
||||
});
|
||||
|
||||
// Extensions of native javascript types, *not good practice* but they're useful
|
||||
|
|
Loading…
Reference in a new issue