Correctif @everyone
This commit is contained in:
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
45
src/index.ts
45
src/index.ts
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user