djs-questions

13317 threads · Page 80 of 267

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...
node
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...
event sometimes got fired 2/3 or event 4 fired 29 messages
@discordjs package
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
node @discordjs package
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'...
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...
node @discordjs package
variable 11 messages
peak widget unknown variable ??
node
Slash Command Register as ES Module 2 messages
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...
node
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...
node
discord.js/voice not found 2 messages
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...
node
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); ...
@discordjs package
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>`
node
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...
node
Discord Forms 4 messages
sand tundra Where can I find docs for Discord Forms
node
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...
node
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
@discordjs package
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 : ...
node
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...
node
My Bot Can't Add roles to member 5 messages
amber granite Version - [email protected] - Node.js v18.13.0 My Simple Code ```js const { default: axios } = require("axios"); modu...
node @discordjs package
Update Guild 15 messages
carmine grove Hi! I am unable to update the guild (server), I want to update server name and server icon but i can not do it, i think...
node
Can't run basic tutorial bot 3 messages
actionrow 8 messages
node
Is code in the guide AND the docs free use? 9 messages
vestal knot I know that the github page for discord js says that it has an apache 2.0 license but this page says "Here's the base co...
Checking a Category Channel for full? 9 messages
tame quarry I have a Category Channel hidden from members that I 'archive' channels into when they fall below a certain activity thr...
Coding Amendment 7 messages
silent kindle Hey guys, I'm getting multiple errors (available if needed) in a specific file, but they all seem to relate to my ```js ...
I build a 'sending select menu' 48 messages
lapis grail But if I test my bot and choise a option the bot dosent response. What is missing? Ty for ur help and sry My expirience ...
node
Adding new tag to forum channel 18 messages
clever kernel The tag is added, with the name correctly set, but the emoji is missing. Here's my code: ```javascript client.on("messag...
node
I have a error and don't know how to fix it. 13 messages
lapis grail I copied the code from github and now I get a error why?
Adding an array to embed fields 2 messages
humble bough ```js const { SlashCommandBuilder, EmbedBuilder } = require("discord.js") const { getTodos } = require("../../firebase...
I need someone who can help me... 3 messages
how can make a reaction role? 5 messages
vital brook how can make a reaction role?
Help about looping 3 messages
frigid marten https://paste.ofcode.org/PicxxZT8fjYiwL4kdCPfZK How can i make the game loop after collector.On(collect)
scheduledEvents 27 messages
halcyon hollow Hello, I'm trying to do a command that show event available on a discord server. Here the code : ```js const { MessageE...
node
TypeError: (data.name ?? channel.name).trim is not a function 11 messages
hushed juniper Hello everyone! My idea is for the bot to record the number of players in the name of the voice channel every 10 minutes...
Problem with attaching images 4 messages
gloomy flame Attached gifs dont load from phone any idea?
discord js compatible with deno ? 14 messages
gaunt wedge at startup, it writes the following error: ```ts Warning: Not implemented: ClientRequest.options.createConnection error:...
deno
BUTTON interact help meeee 15 messages
harsh hill hi I would like to make a command with buttons but I can't create the interactions there is always an error