Minecrafter
Minecrafter
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Minecrafter on 7/11/2024 in #djs-questions
v14.14.1: RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined.
does that effect if you can help me or not?
12 replies
DIAdiscord.js - Imagine an app
Created by Minecrafter on 7/11/2024 in #djs-questions
v14.14.1: RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined.
what is?
12 replies
DIAdiscord.js - Imagine an app
Created by Minecrafter on 7/11/2024 in #djs-questions
v14.14.1: RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined.
here is the full error log from pm2
0|botv2 | (node:147086) DeprecationWarning: BaseInteraction#isSelectMenu() is deprecated. Use BaseInteraction#isStringSelectMenu() instead.
0|botv2 | (Use `node --trace-deprecation ...` to show where the warning was created)
0|botv2 | RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined.
0|botv2 | at PermissionsBitField.resolve (/home/server/ATM9-discordbot/node_modules/discord.js/src/util/BitField.js:174:11)
0|botv2 | at PermissionsBitField.has (/home/server/ATM9-discordbot/node_modules/discord.js/src/util/BitField.js:60:28)
0|botv2 | at PermissionsBitField.has (/home/server/ATM9-discordbot/node_modules/discord.js/src/util/PermissionsBitField.js:92:82)
0|botv2 | at Client.<anonymous> (/home/server/ATM9-discordbot/botv2.js:169:41)
0|botv2 | at Client.emit (node:events:530:35)
0|botv2 | at InteractionCreateAction.handle (/home/server/ATM9-discordbot/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12)
0|botv2 | at module.exports [as INTERACTION_CREATE] (/home/server/ATM9-discordbot/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
0|botv2 | at WebSocketManager.handlePacket (/home/server/ATM9-discordbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:355:31)
0|botv2 | at WebSocketManager.<anonymous> (/home/server/ATM9-discordbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:239:12)
0|botv2 | at WebSocketManager.emit (/home/server/ATM9-discordbot/node_modules/@vladfrangu/async_event_emitter/dist/index.cjs:285:31) {
0|botv2 | code: 'BitFieldInvalid'
0|botv2 | }
PM2 | App [botv2:0] exited with code [1] via signal [SIGINT]
PM2 | App [botv2:0] starting in -fork mode-
PM2 | App [botv2:0] online
0|botv2 | Started refreshing application (/) commands.
0|botv2 | Successfully reloaded application (/) commands.
0|botv2 | Starting bot...
0|botv2 | Bot started
0|botv2 | (node:147086) DeprecationWarning: BaseInteraction#isSelectMenu() is deprecated. Use BaseInteraction#isStringSelectMenu() instead.
0|botv2 | (Use `node --trace-deprecation ...` to show where the warning was created)
0|botv2 | RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined.
0|botv2 | at PermissionsBitField.resolve (/home/server/ATM9-discordbot/node_modules/discord.js/src/util/BitField.js:174:11)
0|botv2 | at PermissionsBitField.has (/home/server/ATM9-discordbot/node_modules/discord.js/src/util/BitField.js:60:28)
0|botv2 | at PermissionsBitField.has (/home/server/ATM9-discordbot/node_modules/discord.js/src/util/PermissionsBitField.js:92:82)
0|botv2 | at Client.<anonymous> (/home/server/ATM9-discordbot/botv2.js:169:41)
0|botv2 | at Client.emit (node:events:530:35)
0|botv2 | at InteractionCreateAction.handle (/home/server/ATM9-discordbot/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12)
0|botv2 | at module.exports [as INTERACTION_CREATE] (/home/server/ATM9-discordbot/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
0|botv2 | at WebSocketManager.handlePacket (/home/server/ATM9-discordbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:355:31)
0|botv2 | at WebSocketManager.<anonymous> (/home/server/ATM9-discordbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:239:12)
0|botv2 | at WebSocketManager.emit (/home/server/ATM9-discordbot/node_modules/@vladfrangu/async_event_emitter/dist/index.cjs:285:31) {
0|botv2 | code: 'BitFieldInvalid'
0|botv2 | }
PM2 | App [botv2:0] exited with code [1] via signal [SIGINT]
PM2 | App [botv2:0] starting in -fork mode-
PM2 | App [botv2:0] online
0|botv2 | Started refreshing application (/) commands.
0|botv2 | Successfully reloaded application (/) commands.
0|botv2 | Starting bot...
0|botv2 | Bot started
12 replies