djs-questions

9202 threads · Page 78 of 185

Can someone help my crash loop? 31 messages
wispy dove my crash loop is non stop when im trying to make a bot what am i doing wrong?
1150878580193116250
Hide secret data in message sent 3 messages
narrow scarab Is there a way to save data ( that is hidden to the user ) in a message? For example i have a message Message.props tha...
.addChoices() as locale 9 messages
plush lichen Is there an option to set choices based on user language like .setNameLocalizations & .setDescriptionLocalizations?
1150878580193116250 998292157150535700
Create invite links to the server automatically by bot 41 messages
winter plinth I want to generate an invite link. Of course, I can do it manually in Discord but I want to automate it and generate the...
1150878580193116250
How to add options to a slash command? 28 messages
past nova How would I add options for people to input data when making a slash command? This is what I have so far.
How to create a button with permission 10 messages
lucid parrot Very similar to the behavior of this button "Mark post as solved" i want to create one the does basically the same. 1....
The punycode module is deprecated. 32 messages
graceful trail Even if i don't use punycode in my code i get this error: ``` (node:3180) [DEP0040] DeprecationWarning: The punycode mod...
1150878580193116250
How to check if Member Authorzied with OAuth2 Application? 5 messages
tardy gate Hey someone got the knowledge. I have a Embed message with a Button and the oauth2 authorzie link in it. How Can i imple...
how do i set catagory above the catagory (get by id and see the position) 6 messages
drowsy root .
Bot not online 1 messages
vernal tinsel I tried to run my bot in terminal but then it just showed my .env response and no following action. I would appreciate s...
I have problem with my `Repeat(music)` command. 2 messages
verbal sentinel Error: https://sourceb.in/ImOu6vpfik Code of functions.js: https://sourceb.in/m3GreYJNBq Code of Repeat command: https:/...
1150878580193116250
Handle two buttons with one script 3 messages
eternal topaz How can I make it so that if a user clicks button A with the id of infoDog it'll trigger the info handler, which will sh...
OAuth2 Question 12 messages
tardy gate Is it possible to take authorized User with the OAuth2 (guild.join), auto. joining a another server with a Command? And ...
making sure embed title is correct 9 messages
hollow stone im trying to get it so that the command works for things with "Card View" as the title in the embed, so no other embed e...
Sapphire Framework 4 messages
dusky oyster So my question is pretty simple, is it recommended to use sapphire framework? If yes, why? One person has suggested it b...
Deploying commands not working. 28 messages
Why <role>.setColor(<color>) not working for hex code 3 messages
drowsy root Works if I setColor to Red or smt but not hex
Role color not editing 5 messages
drowsy root <role>.setColor(<color>) not working
MessageComponentCollector not working 24 messages
drowsy root when i am try to create collector for second time its notworking i have edited pre message and updated components to new...
DeferReply problem 13 messages
rotund birch Hello I want my code to clean up components under message that button was clicked and then send new message. i got ...
Why the messages didnt get deleted? 7 messages
harsh oracle https://sourceb.in/ovtLhFfXxe
Trying to relocate command 5 messages
wide slate I'd like to move this command (starting at srvbot.on) out of the index file and into it's own command but when I move it...
1150878580193116250
why <message>.delete() is throwing error "not a function" 4 messages
drowsy root i set message to reply message and when i try to delete it it is throwing errro
Emoji issus 5 messages
barren rampart hello, i get always issus on my Bot while i use Emoji look in my for ex /ping command i use :mk_ehhh: This emoji is work...
Error when trying to check if a member is in a certain server 7 messages
little delta Hi, I'm getting an error when trying to check if a member in a certain Discord server using the member's ID and the serv...
I get a error in discord that the bot don't response? how I can fix that 22 messages
lapis grail My code is comming
1150878580193116250 998292157150535700
How to make a break line in embed in Discord Java 6 messages
graceful vortex I discovered that if I use \n and do the try to send the EMBED it just crashes, I know this is a java script, but I don'...
How to make a new embed when the first embed reaches counter 1 messages
solar jackal ```js const { PermissionFlagsBits, SlashCommandBuilder, EmbedBuilder } = require('discord.js'); const { getTrackingsOfUs...
1150878580193116250
is there any way to get all the channel names? 10 messages
slow pagoda I am trying to get all the channel name & their properties in a guild. Is there any way to do that?
Trying to set `/language` command that completely changes language of a bot but app is not respondin 7 messages
plush lichen ```js const { SlashCommandBuilder, PermissionFlagsBits } = require('discord.js'); const fs = require('fs'); const restar...
1150878580193116250 998292157150535700
variable 11 messages
peak widget unknown variable ??
1150878580193116250
Is there a good way to check whether a user is eligible to run a command? 44 messages
crystal crag I want to check whether a user is eligible to run a command via Discord's integration command permissions. Is there a vi...
Database connection... MongoDB vs MySQL? 5 messages
frigid hollow I was just wondering if anyone would know why it seems like almost every tutorial online uses MongoDB Atlas for using da...
1150878580193116250
Option values 16 messages
arctic quiver So I have this option with choices ```js { name: 'punishment-type', type: ApplicationCommandOp...
.setParent not working after channel name change limits kick in 69 messages
gritty spire Hello, I'm new to coding so bear with me. Does anyone know if there's limits to moving channels with `.setParent`? I...
1150878580193116250
Auto restart bot 8 messages
harsh hill hi I have a command which adds a user in the variable file but the bot does not update it I would like to know if the bo...
1150878580193116250
Error: Expected token to be set for this request, but none was present 16 messages
wooden dawn ```tsx useEffect(() => { discordRest.get(Routes.user(voter.userId)).then((data) => { console.log(data); ...
998292157150535700
How to create setable commands 10 messages
hidden torrent I want to create setable commands like `/set ticket-channel <channel id i want to set for this server>`
1150878580193116250
ScheduleJob not working? 2 messages
neat lava Have this, I can run the function on launching the bot, but I can't seem to get the reoccurring schedule to work, idea...
Parameter list 5 messages
covert knot Hello, i have a command who take a string on parameter and i want user can just on a list of suggestion fill this string...
1150878580193116250
Discord Forms 4 messages
sand tundra Where can I find docs for Discord Forms
1150878580193116250
help with interaction 16 messages
umbral thorn Hi! I'm new using discordjs, also learning to program. I have this piece of code where i wait for a StringSelect respons...
List member (Question resolved) 82 messages
vast patrol How do I get a list of members in a guild? I need the names of the participants, I would like to get everyone. discord...
1150878580193116250
Embed editting 18 messages
arctic quiver Hello all, I have been trying to get an embed field to edit once a button is clicked is this possible ?
`ButtonInteraction.createdTimestamp` is ahead of fetched epoch from `Date.now()`?! 5 messages
late sky Alright so, I've encountered a confusing error related to this. Think of the following: ```ts const Reply = await Intera...
Bot that generates a custom ID? 3 messages
solemn idol Hey, So in my friends group, we would like a bot that can make users a fake id, not a real one, simply a custom one we ...
Err | Embed failure / Invalid body form 15 messages
arctic quiver Hi all, I keep getting this error never seen this before. ```js TThere was an error: DiscordAPIError[50035]: Invalid F...
Issue with interaction.reply 10 messages
umbral oracle The bot does reply if i use one command but the other one works in the background but doesnt give a reply
998292157150535700
How to use slash commands of my bot on any discord server ? 6 messages
hidden torrent Hi, my bot is running well but when i add it to another server (with admin perms) i can't see my bot's slash commands : ...
1150878580193116250
How I can crate a handler that responsed to my select menu 9 messages
lapis grail I am a beginner In programming and I don't realy know wicht parts I need for the event. I build a dynamically eventhandl...
1150878580193116250