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