djs-questions

9202 threads · Page 77 of 185

Error format 9 messages
mellow dragon Hello ! I'm testing to create a channel when the category is full. I get this error in a catch() of create(): ```json ...
Bypass the limited choices for string options on slashcommand 3 messages
jovial girder Hey there, I was looking at some bots and I found a music bot which allows the user to do `/play` `name:I'm still` and i...
edit existing Embed 5 messages
fringe girder Hello guys, is there a way to edit an existing Embed? I tried the Guide on Discord.js Guides, but it didnt work :(
1150878580193116250
Updating Select Menu 16 messages
sick moss Hello, I need to refresh the select menu, so nothing would be selected and my description would be updated. I saw the on...
Weird roles issue 5 messages
thorny breach ```java const { Events } = require('discord.js'); module.exports = { name: Events.GuildMemberUpdate, async execute(...
bot appears offline after first reply 48 messages
honest lodge My Discord bot goes offline after I send the first reply, but it still appears active on the terminal, it does not throw...
Is it possible to save hidden data in embed? 13 messages
gentle vector Is there anyway to save hidden data in embed, because i have command sending an embed and that embed has buttons, after ...
guildMemberAdd - Canvas 11 messages
fierce lava Hello, when a member joins my server a canva is generated the problem is that if my member has special characters in his...
Limiting interaction to a specific user 8 messages
umbral thorn Hi, I'm working with interaction that uses buttonbuilders. Is there some way to limit the interaction to a specific use...
Adding SubCommand to commands. 8 messages
hardy briar I'm using this snippet to load my slash commands. ```js // Function to register commands from the "./commands" director...
Frequent inconsistent connection timeout on Raspberry Pi 5 8 messages
tranquil jewel I made a bot that works fine on my pc and decided to purchase a RPi 5 so I can keep it running even when my pc is off. ...
Why does this shows error? 17 messages
error getting the value of a embed's field. 27 messages
lucid bolt In this ticket sistem when a ticket is closed it gets a specific value of the first field of the embed message that the ...
Editing embeds to preserve original content 25 messages
slate abyss I have this set into an embed builder in a listener.ts file: ```ts .setDescription(`Ansøgning fra <@${interactio...
'MessageEmbed' is declared but its value is never read. 72 messages
rugged jackal I have no idea why this has happened, its my first encounter with this error.
Event, guildMemberRemove is emitted when someone got banned 4 messages
molten moss The document says the event is emitted when a member left or kicked, but it is also emitted when someone got banned. The...
1150878580193116250
Preventing Unknown Interaction Crash 6 messages
graceful lodge i get "unknown interaction" error at random times... like sometimes a button works fine and sometimes it gives the said ...
Anyone Know how to catch this error so the bot doesn't go offline? 4 messages
warm pagoda ```Error: WebSocket was closed before the connection was established at WebSocket.close (C:\Users\Admin\Desktop\Disc...
Subcommands show up as individual commands 3 messages
bronze oak Hey! I'm having some trouble with commands and subcommands. I've already implemented the code for /count create and /co...
How to check if user has 2FA enabled or not 3 messages
tribal thunder I viewed the docs and the mfaEnabled is only for bot owner. Is it not possible to get other user status if they have 2FA...
hosting on linux 26 messages
echo hollow i have problems with hosting the discord bot i made with windows on a linux system running on > raspberri pi 4 8gb ram...
1150878580193116250
addChoice locale support 3 messages
bright basalt I want to add language support to the 'addChoices' parameter, is there any way I can do this?
The code does not change the new number 7 messages
tribal cedar embed part ```js const args = msg.content.trim().split(/ +/g); let num = args[1]; if (num === un...
Checkuser Discord Bot Script 62 messages
tiny ocean Here is my code; https://srcb.in/ZkESYt2gnk a easy to read description of what I'm tryna do with this script is Check's...
Sending voice messages? 4 messages
ember hearth Is it possible to send an audio file as a Discord voice message using Discord.js?
modal password warning removal 3 messages
tacit wolf Can i turn the warning off about not sharing your password or other sensitive information inside the modal?
Message.content don't work 5 messages
still sedge Hey
How do I pull the message id like this? she is in ephemeral 13 messages
thin plover How do I pull the message id like this? she is in ephemeral
Looking for help on a small discord bot project 14 messages
normal scarab Hello I am trying to make a small discord bot that will download videos from YouTube upon a user doing /reqest (url) and...
how to get channel command was run in 3 messages
marsh birch I am trying to make a command that sends an ephemeral and then a normal message, how would I get the channel the command...
strange error v14 7 messages
shrewd goblet ## After activating the komancha command, it probably records whether I am on the voice channel and takes further action...
How can I edit a follow up? 16 messages
Cannot get params from url 6 messages
onyx wasp <@218348062828003328> (tagging u cous this is followup of my previous question which i closed and cant open anymore) so ...
1150878890307358882
How to change something string to number in mongoodb 2 messages
golden garnet How to change something string to number in mongoodb
1150878580193116250
Oauth2 category of discordjs.guide not up to date. need help with new stuff 6 messages
onyx wasp so in the guide it says that the search params would contain an 'access_token' and a 'token_type'. but im only getting a...
1150878890307358882
need help with building dashboard for discord bot 2 messages
cyan forum hey, folks I'm building web dashboard for my discord bot using this code I'm gettings all the guilds in which either use...
1150878580193116250
Typescript issues 6 messages
willow stirrup I just recently switched to using typescript and I am having a little trouble when trying to get options from CommandInt...
1150878580193116250
i keep failing when i try to make a bot that grabs a image from a api 12 messages
outer crow idk what to do
Mapping & Filter(How They Word) 4 messages
jovial gust ## Mapping & Filtering 😭 Hey there, I’m Oreo! Your friendly / non-friendly nerd dumb head. Anyway, I’m having trouble w...
Arrays 6 messages
arctic quiver So I am using a database to store some punishments for a game. I was wondering if its possible for each thing so Game Ba...
discord-rich-presence set Activity Type 3 messages
vast orbit how can i set the type from Playing to Watching?
1150878580193116250 1003448629866020986
Having trouble trying to set up slash commands. 102 messages
wispy dove Hey I'm having trouble setting up slash commands I try looking up videos to help find how to set up slash commands but n...
1150878580193116250
command issue 13 messages
My music bot is broken 23 messages
narrow oar I'm developing a music bot with discord-player package and while music is playing I'm getting "read ECONNRESET" error an...
998292157150535700
How to make modlogging when user got timeout and unmute(remove timeout) using audit log events 56 messages
fossil fractal I want to make a modlogging system when user got timeout and unmute and the bot have to send log in a specific channel u...
Play Audio Resource even when bot isn't in a voice channel 6 messages
quartz fossil Hi guys, I've created a bot that gets a live feed from a radio station and then outputs the audio into a voice channel (...
Adding an emoji in a select menu don't work 12 messages
zealous nest Hi , i've got a problem when i try to use a StringSelectMenuBuilder. When i use it and do all i want , in my .setEmoji. ...
1150878580193116250
Select Menu Collector 14 messages
patent quail Having some trouble with my collector, per usual since last time I did it took me forever as well. Just threw this toget...
How Bots Send Embeds 10 messages
lofty drum As I have read online is that users cannot send Embeds but bots can. What data in the form of a message do bots send tha...
Unable to add attachments in InteractionType.APPLICATION_COMMAND 27 messages
neat crater Hi there! I am new to creating Discord bots and recently followed the https://discord.com/developers/docs/getting-starte...