djs-questions

9202 threads · Page 68 of 185

How to make an autocomplete list from mongodb entries 8 messages
remote horizon So I have an array of objects, i want to display the name field of each object in a list, and then once an option is cli...
1150878580193116250
Send message to specific channel 18 messages
abstract pond How can I send a message to a specific channel of my guild?
1150878498534199426 998292157150535700
Ticket Support 6 messages
viral nest Why when i run the bot, the terminal gave me this error?
Can someone help to complete this command? 1 messages
summer tulip I have a ticket command here, but I don't know how to make a channel that opens from a button:
1150878580193116250
Webhook send channelId option 7 messages
zenith dune Is it possible to parse a channel ID on the webhook.send method for it to send to a thread rather than it sending to it'...
1150878580193116250 998292157150535700
Issue with Select Menu 9 messages
rare coral Hello, I'm new with select menus, I tried them today but the bot isn't responding to them. The console does not get an e...
1150878580193116250
invalid from body 8 messages
cunning canyon ```DiscordAPIError[50035]: Invalid Form Body 14.options[3][APPLICATION_COMMAND_OPTIONS_TYPE_INVALID]: Sub-command and su...
1150878580193116250
invalid from body 4 messages
cunning canyon ```DiscordAPIError[50035]: Invalid Form Body 14.options[3][APPLICATION_COMMAND_OPTIONS_TYPE_INVALID]: Sub-command and su...
1150878580193116250
Latency 15 messages
tall sleet After I created shards for bot, latency went from 8-10 to 200 and this happens sometimes
modal submit unknown interaction 4 messages
sand bluff ```js await interaction.showModal(modal); //ButtonInteraction const filter = (i) => i.user.id === inter...
MODAL 15 messages
split coyote hey, how can add textlabel in modal please?
1150878580193116250 998292157150535700
Add points to multiple users at once 7 messages
ocean falcon I want to make 3 optional options to add points to multiple users at once, How can I achieve that without adding the poi...
Authentication failed at WebSocketShard.onClose 71 messages
summer wagon I get this error once every few weeks and discord resets my bot's token. ```Unhandled rejection: Authentication failed a...
For some reason my collecter won't work? 4 messages
glossy falcon It doesn't give me an error or anything and ive been debugging for about 6 hours now. Any pointers are appreciated.
Embed is only sending once every time the slash command is ran every active session 13 messages
proven crystal By every active session I mean every time the bot is online. I have a slash command that is like an 8ball command. It i...
1150878580193116250
Download Node JS without admin rights 6 messages
zinc iron Hello i want to know if it's possible to install node js npm without admin rights please
1150878580193116250
403 Error due to new image expiration? 15 messages
gilded crypt Hey all, I'm unfortunately having issues with a ticket transcript system that I created for my discord bot. I've done so...
1150878580193116250
Getting: Invalid bitfield flag or number: VIEW_CHANNEL. (creating a text channel) 4 messages
glossy falcon dont rlly know. code: ```js collector.on('collect', async(i) => { const selection = i.values.join(',...
Anonymous bot sub-users (PluralKit) 5 messages
fringe topaz How would I create anonymous bot sub users like what PluralKit and similar bots do? The users are marked as bots and ge...
slash commands 17 messages
split coyote how can creat slash command with open popup(modal) ? pls
998292157150535700
Trying to join guild by keep getting "you need to update ur app to join this server" 3 messages
errant mango im using a cap solver to join the server, i have tried everything - does anyone have any code or a solution to this?
1150878580193116250
Stock element to send embeds 2 messages
upbeat depot Hello guys, is that possible to stock the id of members who react to a message and send an embed to an hour preselected ...
Bot status occasionally reverts back to initial status from the status set in ClientReady 14 messages
vernal siren Im using DJS with sharding. I initialize the client with a status of "Starting" and then in ClientReady I basically set ...
1150878580193116250 998292157150535700
slash 5 messages
eternal vapor how to make subcommands with rest without slashbuilder
help with a secret buttons 13 messages
lofty sierra I would like these two buttons to be visible solely and exclusively to the admin role and not to the members, how can I ...
Can I send a message without async? 4 messages
random vine Hey guys, i was tried to send message to channel with async But is there any way to send message without async? ```js...
How to join in a team? how to code together? Can anyone help me please 4 messages
marble wedge I really need help on this
986538542350086175
Issues with discord.js errors in Bun 22 messages
mighty timber Hello. I am looking to confirm that I am not the only one with the following issue. I'm also trying to understand if thi...
1150878498534199426
Problem 17 messages
cunning canyon ```TypeError: options.getSubcommandGroup is not a function at Object.execute (C:\Users\PC\Desktop\LunarDSC official ...
1150878580193116250
help with a verify function 2 messages
lofty sierra hi guys, I would need help because I have problems finishing a part of the code of my verification function, I would lik...
help with a verify function 1 messages
lofty sierra hi guys, I would need help because I have problems finishing a part of the code of my verification function, I would lik...
postgresql issue with discord bot I am setting up 3 messages
ebon slate ```js node:os:347 throw new ERR_SYSTEM_ERROR(ctx); ^ SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv...
Fetching specific guilds across all shards 51 messages
fallow trout Hey there, what's the proper way of finding specific guilds across all shards? I tried following the tutorial on the gui...
1150878580193116250
Unknown member 20 messages
lime dragon DiscordAPIError[10007]: Unknown Member Code: ```javascript if (subcommand === "zmień-prezesa") { con...
I haven't fully figured out subcommands yet 21 messages
lone quartz ``` const {ButtonBuilder, ButtonStyle, StringSelectMenuBuilder, StringSelectMenuOptionBuilder, Events, SlashCommandBuild...
Please help me create a slash command 5 messages
lone quartz I have a problem when creating a slash command: I want to make it two separate words, but I am faced with the problem of...
Embed Message 48 messages
viral nest Hi everyone, I need help regarding this string, apparently when someone joins the server, the embed message doesn't appe...
Reload command issue 6 messages
obsidian shale I have been trying to use the reload cmd from the djs docs but it gives me this error
Trying to change a variable inside a CATCH 15 messages
last lantern well i have a piece of that im trying to send message to a specific amount of people and im trying to find out how many ...
embed create 4 messages
inland depot hey, i would like create a embed but i do not
1150878580193116250
how to get bot user and id 1 messages
tropic lichen how to i get the bots user and id
1150878580193116250
I don't know how to register commands 3 messages
abstract pond A while ago i created a discord bot with only one command, and i think i lost some files. The only command that works is...
1150878498534199426
Getting Error assigning bot role: DiscordAPIError: Missing Permissions 3 messages
tired olive When my bot does not have the highest position and I attempt a write operation to a role with a higher position, I encou...
1150878580193116250 998292157150535700
Suggestion System with Polling 1 messages
blissful frigate Hello, I want to ask for help to improve my code, I want to create a feature like in the video bellow, so when the embed...
Creating role at a specific position 13 messages
fathom quarry I have an existing role and when creating new ones, I'd like them to be just above the first role on the list. How do I ...
Matching the start of a message with a string in a database 5 messages
fiery escarp Hello! I'm in the early stages of working on a bot sort of like PluralKit: it detects when a user starts a message with ...
Avoiding Overwriting Variables in Collectors (14.14.1) 4 messages
elfin kelp When using collectors, what is the best way to preserve a variable determined in one interaction for use in a future int...
Random chance role. 5 messages
outer gyro Hi. I'm stuck on script as idk how to correctly write it to do what I want. Currently stuck on line 32 where I need to c...
Cannot read properties of undefined (reading 'FLAGS') 7 messages
glossy falcon code works fine on windows but for some reason gives this error on linux(ubuntu)
Formatting text inside embeds 12 messages
short igloo How do I format my text like this?