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", "name": "bot_tamiseur",
"description": "Listen to music and use fun commands with your friends!", "description": "Listen to music and use fun commands with your friends!",
"version": "3.0.2", "version": "3.0.3",
"author": { "author": {
"name": "Zachary Guénot" "name": "Zachary Guénot"
}, },

View File

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