djs-questions

13317 threads · Page 87 of 267

images in an embed don't load 16 messages
native magnet i'm creating an embed which contains an image in it. it's been working in numerous test servers, but recently they haven...
node
website doc 13 messages
edgy condor idk
@discordjs package
why does this work in dev but not production 4 messages
fathom cliff ```client.guilds.cache.get(CONFIG.guildId).channels.cache.get(CONFIG.siteLogChannelId).send('Bot started');``` on my de...
I am getting this following error 11 messages
warm scaffold ```js if (interaction.commandName == 'gerenciar_auth2') { //interaction.deferUpdate() ...
check to see if new channel is a category or a text channel 7 messages
untold imp is there away to see if the new channel is a category or text channel and only do something if so? ```js client.on("cha...
VS code autocomplete 8 messages
bitter cedar My vscode isn't showing me any suggestions for auto complete
node @discordjs package
Send video as attachment from url 12 messages
digital nova I'm trying to send a video as an attachment but I'm getting an error ```js { url: 'https://cdn.discordapp.com/atta...
I need help with used-commands-logs in console. 2 messages
verbal sentinel __**https://mystb.in/BusesDevonMarijuana**__ - **code** I want to make used-commands-logs. When I type `/music play son...
node
How get arguments in slash command? 12 messages
last nest Registration: ```js const data = new SlashCommandBuilder() .setName('balance') .setDescription('Просмотр баланса') .addU...
How add arguments to slash command? 5 messages
last nest How add arguments to slash command and read it? ```js await bot.application.commands.create({name: 'test', description: ...
GuildAuditLogEntryCreate does not provide a guild 12 messages
onyx wasp in the documentation it says that the GuildAuditLogEntryCreate event a guild provides. but it seems to always be undefin...
deno
Different modal IDs still trigger awaitModalSubmit multiple times 7 messages
zealous nest I need the user to click the button and enter feedback in the modal. After submission, update the embeds in the original...
How get bot latency? 9 messages
last nest `bot.ws.ping` return `-1` `bot.ping` return `NaN` `Date.now() - message.createdTimestamp` not is latency
How to mention slash command? 4 messages
last nest How to mention slash command like in the screenshot?
can you set custom properties for a guild member? 2 messages
red saffron let's say i want to store the exp of a given guild member. can i add a property to their guildmember object, or do i nee...
How to make a button open the modal after clicking it again? 3 messages
zealous nest I have a button that lets the user enter feedback. But if the user closes the modal midway, this button will become unav...
Reply to a message as bot 4 messages
leaden topaz This is less a question of help and more of curiosity, In Discord JS I know you can reply to the interaction using "`in...
Updating ephemeral 37 messages
timid inlet Hi, is it possible to update ephemeral in a message after it's been deferred, in v13 it was, can't find if it was remove...
Check if a member is already on timeout 15 messages
verbal tangle ```if(member.isCommunicationDisabled() === true) return interaction.reply ('User already muted')``` Why is it returning...
How to get all channels in a guild? 56 messages
buoyant epoch it looks like there is no way to get all channels in a guild, some posts were referring to .cache but thats not a real s...
node @discordjs package
Service Unavailable 5 messages
jaunty crescent My bot is running for 23 days with no issues. I came across this following error trying to delete a channel: ``` HTTPEr...
Bot crashing without any errors 61 messages
nimble loom Good afternoon! I apologize if this isn't the correct forum for my question, but my bot seems to be going offline after ...
I am getting InteractionAlreadyReplied error My interaction is getting deferred from nowhere 11 messages
Setting Voice Channel Status? 5 messages
weary mango So i have thought about adding a function for a Music Bot to show the currently playing song in the voice channel Status...
Does anyone have the starter code from the guide but in typescript? 12 messages
upbeat thorn I wrote my bot in javascript, and have now been trying to convert it to typescript. I don't feel like I have a firm gras...
How to show a modal after a reply? 4 messages
lucid bolt In this command, the bot reply (ephemeral) to the slash command with a button, how to show a modal when this the user in...
Why is my Discord bot not working on Node.js? 8 messages
last nest The bot starts, but does not respond to !ping and !sum. ```js const { Client, GatewayIntentBits } = require('discord.js'...
Fetch user from different shard (without being in the same guild) 7 messages
jagged pivot I'm working on a notification function to send DM user . But I read some information online that using `.broadcastEval(...
node
ReferenceError: IntentsBitField is not defined 12 messages
snow arrow Hello Just getting back into coding bots and I am working on intents, which I don't quite understand. I'm getting the ...
node
Use Discord.js v14 for an OAuth user 2 messages
old fern For a new project of mine, I need to use user's data directly, aka OAuth then user endpoints. I saw that Discord.js mod...
@discordjs package
I don't understand the problem in my program 3 messages
lament edge Hello! I'm a beginner in programming and I've recently started coding my discord bot first, but this problem appears in ...
node
Can't fetch interaction.reply 18 messages
lucid bolt I'm trying to, after the interaction with a user select menu, to edit the reply but i receive the error : `DiscordAPIErr...
Bot on dynamic ip address 3 messages
sick leaf Can my bot run continuously if my ip address changes ?
node
how i can make folder for actions example is: "MessageCreate", guildCreate etc. 7 messages
shell glen # how i can make folder for actions example is: "MessageCreate", guildCreate etc. the same as with slash commands only w...
Overloaded? DiscordAPIError[50027]: Invalid Webhook Token 3 messages
light elk This may have been Discord's API acting up but I'm pretty sure my bot was having issues with processing too many button ...
Collectors just do not work 4 messages
smoky copper i'm making a minecraft crafting table in discord and it (should) work by listening for replies and adding materials to t...
node
command from another file in index.js 4 messages
uncut crescent I am trying to follow the discord js guide, since I plan to create many commands, with what I have, the bot starts, but ...
@discordjs package
Set voice channel topic 2 messages
ancient jolt Is it possible to set the text that goes below the voice channels' names using discord.js?
How to validate if text is emoji? 🤔 45 messages
undone saffron My research has not turned up anything. I want users to be able to type in any emoji that is a valid emoji that could b...
Had to add bot to new server and change over some ID's and having issues with manage roles 9 messages
hollow parrot ```js if (message.channel.type == 1) { const guild = client.guilds.cache.get('Server ID here'); const member = a...
node
Button interaction error 10 messages
peak atlas https://srcb.in/EGl5shcYHe Guys in this my reaction roles system seems to work fine, but not the mod
Play audio from URL 7 messages
dawn wasp Hi, ive created a command to have the bot on a voice channel, it works but i want to play a sound from an url but i dont...
node
Collector#end not firing off unless there's been another button pressed. 6 messages
faint fox node -v output: ``` v21.0.0 ``` npm list output: ```[email protected] /home/ubuntu/Projects/discordjs-shirabot ├── discord...
Application did not respond 13 messages
frail jackal hello, I began coding after some time and alot changed, i took the code from following the tutorials from the discord.js...
How to generate table 4 messages
uncut crescent I have my database from a soccer league, but I want it to display table type when executing a command I have this found...
Discord Bot's Dashboard 4 messages
naive sundial hi i am using discord.js v13 and i want to make a dashboard for every users that can use the dashboard for his server
error cant set permissions as old channel 6 messages
graceful grove ```js server.channels.create(channel.name, { type: channel.type, topic: channel.topic, nsfw: cha...
server.roles is undefined any idea why? 2 messages
graceful grove im trying to create new role with server.roles.create() but its saying that server.roles is undefined
can I use channel.clone for 2 servers 21 messages
graceful grove is it possible to use channel.clone to copy a channel from 1 server to another and can I copy sectors too?
Cannot update embed after component interaction 3 messages
zealous nest Sending a new embed to the channel doesn't work either. What should I do? ```js async execute(interaction) { ... ...