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,27 +35,30 @@ declare module 'discord.js' {
// CLIENT INITIALIZATION // CLIENT INITIALIZATION
const client = new Client({ intents: [ const client = new Client({
GatewayIntentBits.AutoModerationConfiguration, intents: [
GatewayIntentBits.AutoModerationExecution, GatewayIntentBits.AutoModerationConfiguration,
GatewayIntentBits.DirectMessageReactions, GatewayIntentBits.AutoModerationExecution,
GatewayIntentBits.DirectMessageTyping, GatewayIntentBits.DirectMessageReactions,
GatewayIntentBits.DirectMessages, GatewayIntentBits.DirectMessageTyping,
GatewayIntentBits.GuildEmojisAndStickers, GatewayIntentBits.DirectMessages,
GatewayIntentBits.GuildIntegrations, GatewayIntentBits.GuildEmojisAndStickers,
GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildIntegrations,
GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildInvites,
GatewayIntentBits.GuildMessageReactions, GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessageTyping, GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMessageTyping,
GatewayIntentBits.GuildModeration, GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildPresences, GatewayIntentBits.GuildModeration,
GatewayIntentBits.GuildScheduledEvents, GatewayIntentBits.GuildPresences,
GatewayIntentBits.GuildVoiceStates, GatewayIntentBits.GuildScheduledEvents,
GatewayIntentBits.GuildWebhooks, GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.Guilds, GatewayIntentBits.GuildWebhooks,
GatewayIntentBits.MessageContent GatewayIntentBits.Guilds,
] }) GatewayIntentBits.MessageContent
],
allowedMentions: { parse: ['roles', 'users', 'everyone'] }
})
client.commands = new Collection() client.commands = new Collection()
client.buttons = new Collection() client.buttons = new Collection()