djs-questions

9202 threads · Page 124 of 185

messageCreate 35 messages
gloomy oak Hi, anyone know why this isnt working after dm? ```const { Client, Intents } = require('discord.js'); const tokens = req...
How Should I Be Learning DJS? 3 messages
crystal mist ive been wanting to make a discord bot for a while now and now ive finally been able to and i dont know where to start a...
Handling DiscordJS API Errors 10 messages
surreal wolf Hello everyone, I've been trying to handle API response errors to avoid my Bot to die once these occur, errors like char...
Is there a definition of display names for discord.js? 9 messages
raw wharf Is there a definition of display names for discord.js?
How do I get a user's display name and avatar to use in .setAuthor? 32 messages
ashen topaz ^
change clear-warns to remove-warn(id) 7 messages
lost magnet https://sourceb.in/6juwjNd0ng i want to know if theres a way to clear a certain warning instead of all of them
Multi Guild Error Logs 22 messages
lost magnet https://sourceb.in/hmOEpNlIIk i have the schema, interactionCreate event, and set-up command in the sourcebin. it will ...
GitHub Private Webhook Bots 13 messages
pine turtle as you can see by the pictures i want to know how hard it is to make a github webhook bot like there one as the one with...
Ping NaNms 32 messages
astral tusk ```js const { SlashCommandBuilder, Client, GatewayIntentBits, WebsocketOptions } = require('discord.js'); const client =...
detect ping 5 messages
nimble plover Hi, I haven't used discordjs in a long time and am learning the new version. I don't quite understand how to detect a me...
Category insufficient permissions 57 messages
chrome skiff Hi! I've got a code that creates a channel with some channel overwritten permissions. It had worked perfectly until I ad...
Handling components more efficiently 14 messages
teal portal Hey. I am having some issues. Currently, I have been using JDA as I like the way I can create components and stuff and h...
is there a way to make discord wait for a second button input after the first update? 19 messages
ebon patrol Also update the buttons in the action row...
how can I retreive all messages from a channel? 1 messages
harsh wolf ^
Reset menu 2 messages
vocal maple Why doesnt this reset my menu: ```const { PermissionsBitField, EmbedBuilder, CHannelType, ActionRowBuilder, StringSelec...
State management 9 messages
wooden adder I'm building a bot and am wondering the best way to manage state within the app? For example, once a user executes a co...
sending message when shard starts 10 messages
spare urchin Error [ShardingInProcess]: Shards are still being spawned.
Responding to interaction with a video from a URL 5 messages
sudden grail Hi, I have a database of videos that are all stored as links (all on the discord CDN and ending in .mp4). I want to resp...
Click on the button 8 messages
scarlet jetty Hi everybody. Who can tell how to send a message when you click on the button with the "nextpage" identifier? Here is my...
Creating a channel. 5 messages
vocal maple Ihave a problem with making a channel in a category: The error: RangeError [BitFieldInvalid]: Invaled bitfield flag or ...
djs14 question 3 messages
wet pier is it possible to create a command to set up a 'bot-logs' channel, for every server the bot is in? that way if the bot g...
Reply failing on button interaction, getting no errors 21 messages
ebon patrol Just not sure what I did wrong here. Looks fine according to the discord API guide as far as I can tell. When I hit th...
.tag w/changes to the usernames 7 messages
dapper void Apologies in advance if this has been answered somewhere. With the changes discord is / has made to the user names (rem...
998292157150535700
logic building question (flow chart included): 4 messages
ebon patrol First of all, thank you so much for all of the help you guys have given me over the past couple days as I'm building thi...
Icon in embed .addFields msg 5 messages
wind path How I may input this teeny-weeny icon to `value` in `.addField` in my `embed` msg. For example I have something like thi...
Not sure why my embed is failing. 21 messages
ebon patrol Hello! I have an embed that I'm putting together and I'm getting a TypeError that I'm not quite sure I understand. Could...
Slash commands and prefix 12 messages
frosty tide Are prefixes still supported by discordjs? Like can I use them also what benefits would there be with using slash comman...
Registration of slash commands and ephemeral messages 57 messages
scarlet jetty Hello. A question arose. How can I send an "invisible" message to a user using a slash? I am using Java Script version 1...
Can anyone tell me where this is coming from? 11 messages
I wanna get embed data 3 messages
solid bear When I click "Onayla" Button bot send message embeds description this channel. Can I do it?
Supports commands badge 6 messages
earnest skiff So my bot can run both slash and standard commands. I even have the active dev badge because of it. But my bot dtill for...
How to completely removing an emoji, not just the reactions 4 messages
amber abyss In my app, the bot automatically adds different emoji reactions when a user creates a message. Afte a certain amount of ...
DiscordAPIError[10062]: Unknown interaction 29 messages
marsh breach hii my bot was working very well at morning but now its give me this error for everything i use any help 🤍
is this possible 11 messages
split sonnet guys is it possible to make a bot that reads the chat and respond or just is starting topics BASED ON AI? gpt3
get username from command 3 messages
thorn light how do I get the username of the person who used a command?
add role to user 5 messages
thorn light how do I give a role to a user
button 3 messages
thorn light how do I add a button to a message and then do something when it is pressed?
Does anyone know this "ENOTFOUND" error? 9 messages
runic quail I think it's an error in a call discordjs made, and not a result of a function I called. I'm using djs 14.6.0 and node 1...
button component 7 messages
thorn light How would I add a button to a message and then disable it for individual users once it is pressed
waiting for interaction collector to finish before executing another function 8 messages
untold cloud code: ```js await interaction.reply({ ephemeral: false, embeds: [embed], components: [row] }).catch(e => console.log(e))...
get role by name 7 messages
thorn light how do I get a role by it's name?
Not receiving guildMemberRemove event 15 messages
tropic turtle Hi! Hoping for a little help as I'm new to discord.js and have a simple bot working and posting messages in channels fro...
how can i make my inline fields look like the image? 11 messages
little elbow (title) here's what i've tried: ```js const songEmbed = new EmbedBuilder() .setColor(0x1ed760) .setTitle(obj["na...
interaction.channel = null 50 messages
dawn meadow Sometimes interaction.channel = null. This is often fixed by restarting the bot. But I don't want to restart the bot eve...
Button feature 19 messages
novel phoenix Hey, can I use Modal when a user press on a button?
To invoke a command from another channel 5 messages
mellow kite I don't understand if I find docs. How do I call a command from another channel?
Tokens, Authorized Apps, Web Dashboard 6 messages
latent bear I'm trying to make a dashboard for the first time and I have some questions regarding the tokens. 1. Suppose the `acces...
Need help sending an echo to a channel without it being a reply to a slash command. 22 messages
ebon patrol The title says it all. I want the reply to be sent as an ephemeral message to the user in the channel they performed th...
question about threads 14 messages
lost magnet is there a way to edit tags of a thread using a command?
how to use createChannel 2 messages
thorn light I don't understand how to use createChannel