djs-questions

9202 threads · Page 79 of 185

My Bot Can't Add roles to member 5 messages
amber granite Version - discord.js@14.14.1 - Node.js v18.13.0 My Simple Code ```js const { default: axios } = require("axios"); modu...
1150878580193116250 998292157150535700
My Bot Can't Add roles to member 1 messages
amber granite My Simple Code ```js const { EmbedBuilder, ButtonStyle, ActionRowBuilder, ButtonBuilder, ModalBuilder, TextInputBuilder,...
1150878580193116250 998292157150535700
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...
1150878580193116250
actionrow 8 messages
1150878580193116250
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 ...
1150878580193116250
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...
1150878580193116250
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...
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...
1150878580193116250
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:...
1150878890307358882
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
SyntaxError: Missing } in template expression 1 messages
rigid knot it says `Missing } in template expression` on this line: ```js description: `${price[interaction.guild.id].boosts.OneM.2...
DB not updating 3 messages
languid umbra Hello! As you can see in screenshoots, the database keep not updating after a `data.save()`, but there are confirms mess...
1150878580193116250
type error : la commande pingn'a pas de nom 20 messages
tidal bobcat const fs = require ("fs") module.exports = async bot => { fs.readdirSync ("./Commandes").filter(f => f.endsWith(".j...
1150878580193116250
Tagging a role via http 10 messages
muted forge Is it possible to tag a discord role when sending a message via http only using a discord bot? It sends the message bu...
1150878580193116250
Message doesn't send to channel 18 messages
edgy dune ```js client.on(Events.GuildMemberAdd, async (member) => { if (member.guild.id != GUILD_ID) return; // Read the...
Join messages don't want to work? 7 messages
edgy dune For some reason, it can't read "messages.json" because it's not valid directory...but it's right there? ```js client.on...
What is the best way to get the subcommand from the command? 1 messages
crystal crag I have a command that uses subcommands. I know that there is an `interaction.options._subcommand` private property that ...
to send a message in a specific channel 89 messages
harsh hill hello I would like to send a message in a specific channel here is my code
ExpectedConstraintError > s.string.regex 9 messages
golden plaza code: ```js const reactions = require('./src/Schemas/reactionrolesSchema'); client.on(Events.MessageReactionAdd, async ...
Bot doesn't reply, DJS v14 23 messages
astral tusk Index.js ```const fs = require('node:fs'); const path = require('node:path'); const { Client, Collection, GatewayInten...
1150878580193116250
SyntaxError: Unexpected token '{' 6 messages
arctic quiver I do not know why this is a major error all of sudden is their something i need to update ?
help me 2 messages
full nova Can someone help my server out by buying us a host for our Minecraft server? We’ve been struggling for months to start o...
1150878580193116250
reload command on new sever 15 messages
little shadow So right now when i bot is invited to a new server you cant cant see any commands untill i restart the bot
Interaction responses very slow on Raspberry Pi 12 messages
lethal panther When running a bot on my raspberry pi, all discord.js interaction response methods (.reply(), .deferReply(), etc) run ve...
Not creating channel overwrites 17 messages
naive shoal ```JS const rolename = roleToClone.name; const rolecolor = roleToClone.color; const roleposition...
Hi! I have a problem with roleinfo command 12 messages
verbal sentinel Let me explain: roleinfo works with some roles, but not with others. As I understand it, this does not depend on: the la...
1150878580193116250
ActionRows limits 3 messages
lost kettle What are the limits of `ActionRows`? (How many `ActionRows` a message can have? How many components can an `ActionRow` ...
998292157150535700
server location for VPS discord bot 4 messages
edgy warren what is the best server location for VPS discord bot ? i test german and it's 103 ping so bad
1113356221962010634
quick question: How can I send a message to the created thread? 2 messages
rotund vector After the bot creates a thread, I would like to post a message by the bot to that thread. I have a `ThreadChannel` obje...
1150878580193116250
Unknown Interaction 8 messages
red topaz I've been struggling with this error for a long time, I'm defering almost all my commands, and this still happens, so ...
The app does not repond 19 messages
lethal oyster Hello, I'm a new bot developer and I have a problem. At every command, button or what ever I interact with. My bot does ...
Querying server messages 5 messages
calm osprey What's the prefered way to query for messages that meet some criteria, like as it's done in the "Search" functionality o...
Permanent Collector? 6 messages
patent quail Hey all, just wondering if there was anything like a permanent collector. I haven't seen anything around the documentati...
Zombie Connection 206 messages
tall sleet I get zombie connection error and bot doesnt even startup, had this issue before but changed my hosting service Now it ...
Extending a interface and changing the property type to a extending type 1 messages
bitter hamlet I have a interface `Component` with a property `interaction` with the type `MessageComponentInteraction`. In my second i...
1150878580193116250
bot not answering 16 messages
golden plaza i created command !membercount and when I enter the command, the bot does not display the membercount Theres no error co...
random user and avatar 3 messages
warm coral How to get avatar and name randomly and display it as embed
"this interaction failed" 10 messages
thorn perch ```javascript const seeRooms = async (interaction, embed, page, room_names, channel_id, room_pictures, count) => { ...
How to get forumchannel id of message? 3 messages
buoyant epoch Hello, i have message in forumposts where i need the id of the forumchannel of the message, i searched online and nothin...
1150878580193116250 998292157150535700
How are circular Dependancies avoided in Djs 4 messages
thin ingot in djs, guilds needs to have roles: `<guild>.roles` and a role needs to have a guild: `<role>.guild` how does this not ...
MessageActionRow is not a constructor 32 messages
ember bluff Started refreshing application (/) commands. Successfully reloaded application (/) commands. Logged in as ɢ-ᴏᴋɪ#5601 Err...
discord-rpc 3 messages
spiral inlet Hey is there a way I can host discord-rpc on my vps and have it keep running without having the discord app open all the...
1003448629866020986