PHI
PHI
Explore posts from servers
SIASapphire - Imagine a framework
Created by PHI on 5/19/2024 in #sapphire-support
help needed
ializing... [ERROR] Encountered error while handling the command application command registry for command "ban" at path "/home/runner/bot/commands/ban.js" TypeError: Cannot read properties of undefined (reading 'FLAGS') at /home/runner/bot/commands/ban.js:27:46 at Object.normalizeChatInputCommand (/home/runner/bot/node_modules/@sapphire/framework/dist/cjs/lib/utils/application-commands/normalizeInputs.cjs:30:5) at _ApplicationCommandRegistry.registerChatInputCommand (/home/runner/bot/node_modules/@sapphire/framework/dist/cjs/lib/utils/application-commands/ApplicationCommandRegistry.cjs:65:43) at BanCommand.registerApplicationCommands (/home/runner/bot/commands/ban.js:11:14) at Object.handleRegistryAPICalls (/home/runner/bot/node_modules/@sapphire/framework/dist/cjs/lib/utils/application-commands/ApplicationCommandRegistries.cjs:63:23) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async _CoreListener.run (/home/runner/bot/node_modules/@sapphire/framework/dist/cjs/listeners/CoreReady.cjs:16:5) at async Object.fromAsync (/home/runner/bot/node_modules/@sapphire/result/dist/cjs/index.cjs:619:22) at async _CoreListener._run (/home/runner/bot/node_modules/@sapphire/framework/dist/cjs/lib/structures/Listener.cjs:27:22) at async _CoreListener._runOnce (/home/runner/bot/node_modules/@sapphire/framework/dist/cjs/lib/structures/Listener.cjs:31:5) THIS ERROR in this
.setRequiredPermissions([permissions.FLAGS.BAN_MEMBERS])
.setRequiredPermissions([permissions.FLAGS.BAN_MEMBERS])
78 replies
DIAdiscord.js - Imagine an app
Created by PHI on 6/15/2023 in #djs-questions
how can I connect discord.js with my bot?
how can I connect discord.js with my bot?
7 replies
DIAdiscord.js - Imagine an app
Created by PHI on 6/15/2023 in #djs-questions
how can i run cmd in visual studio code
6 replies