Correctif @everyone

This commit is contained in:
Angels-dev
2024-09-30 21:16:25 +02:00
parent 14f9993204
commit 6e29e7c8e4
2 changed files with 25 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "bot_tamiseur",
"description": "Listen to music and use fun commands with your friends!",
"version": "3.0.2",
"version": "3.0.3",
"author": {
"name": "Zachary Guénot"
},

View File

@@ -35,7 +35,8 @@ declare module 'discord.js' {
// CLIENT INITIALIZATION
const client = new Client({ intents: [
const client = new Client({
intents: [
GatewayIntentBits.AutoModerationConfiguration,
GatewayIntentBits.AutoModerationExecution,
GatewayIntentBits.DirectMessageReactions,
@@ -55,7 +56,9 @@ const client = new Client({ intents: [
GatewayIntentBits.GuildWebhooks,
GatewayIntentBits.Guilds,
GatewayIntentBits.MessageContent
] })
],
allowedMentions: { parse: ['roles', 'users', 'everyone'] }
})
client.commands = new Collection()
client.buttons = new Collection()