DiscordAPIError[50001]: Missing Access
at SequentialHandler.runRequest (F:\WETBOT_discordjs_v14\node_modules\discord.js\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:287:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SequentialHandler.queueRequest (F:\WETBOT_discordjs_v14\node_modules\discord.js\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:99:14)
at async REST.request (F:\WETBOT_discordjs_v14\node_modules\discord.js\node_modules\@discordjs\rest\dist\lib\REST.cjs:52:22)
at async ChannelManager.fetch (F:\WETBOT_discordjs_v14\node_modules\discord.js\src\managers\ChannelManager.js:123:18)
at async eval (eval at _eval (F:\WETBOT_discordjs_v14\node_modules\discord.js\src\client\Client.js:470:12), <anonymous>:2:31)
at async ShardClientUtil._handleMessage (F:\WETBOT_discordjs_v14\node_modules\discord.js\src\sharding\ShardClientUtil.js:194:64)DiscordAPIError[50001]: Missing Access
at SequentialHandler.runRequest (F:\WETBOT_discordjs_v14\node_modules\discord.js\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:287:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SequentialHandler.queueRequest (F:\WETBOT_discordjs_v14\node_modules\discord.js\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:99:14)
at async REST.request (F:\WETBOT_discordjs_v14\node_modules\discord.js\node_modules\@discordjs\rest\dist\lib\REST.cjs:52:22)
at async ChannelManager.fetch (F:\WETBOT_discordjs_v14\node_modules\discord.js\src\managers\ChannelManager.js:123:18)
at async eval (eval at _eval (F:\WETBOT_discordjs_v14\node_modules\discord.js\src\client\Client.js:470:12), <anonymous>:2:31)
at async ShardClientUtil._handleMessage (F:\WETBOT_discordjs_v14\node_modules\discord.js\src\sharding\ShardClientUtil.js:194:64)const { Client, Collection, Partials, GatewayIntentBits } = require("discord.js");
const client = new Client({
intents: [
GatewayIntentBits.GuildBans,
GatewayIntentBits.GuildInvites,
GatewayIntentBits.GuildScheduledEvents,
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildEmojisAndStickers,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.MessageContent,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.GuildMessageReactions,
],
partials: [Partials.Channel]
});const { Client, Collection, Partials, GatewayIntentBits } = require("discord.js");
const client = new Client({
intents: [
GatewayIntentBits.GuildBans,
GatewayIntentBits.GuildInvites,
GatewayIntentBits.GuildScheduledEvents,
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildEmojisAndStickers,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.MessageContent,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.GuildMessageReactions,
],
partials: [Partials.Channel]
});