djs-questions

9202 threads · Page 119 of 185

Emojis in slash command "choices" not appearing 13 messages
raven oriole I'm trying to add emojis to the list of slash command choices (see attached image). It appears "emoji" is a valid field,...
message.channel in DM's is null, is there a way to fill it? 21 messages
muted beacon As the title suggests the api doesn't send the channel in the payload for DM messages. Is there a way to fetch the chann...
Bot Ownership 6 messages
finite void Hello, How could I transfer the bot ownership to my friend using the source code, he also needs a 24/7 bot hosting websi...
998292157150535700
discord.js next version? 22 messages
last relic What is this next version of discord.js? https://discord.js.org/ What will mthe difference be between discord.js v14 and...
998292157150535700
interactionCreate events not working 146 messages
shy sparrow https://srcb.in/kRXh4rWrEw ```TypeError: Do not know how to serialize a BigInt at stringify (<anonymous>) at Cl...
Change Description? 6 messages
nimble wolf is possible change it description?
Channel's position properties appear to be incoherent 18 messages
unreal dew Channel room-2 is positionally above channel room-1. But the cache shows that room-2's `rawPosition` is 0, and it's `pos...
Split a string into a list and iterate through it 3 messages
hexed escarp Good morning. So I come to ask you a somewhat dumb question, I know that to normally retrieve a list of the elements of ...
How to add and remove a specific role to a user? 23 messages
alpine lily Node version = 18.16.0 Discord.js version = 14.11.0
Quick question: would a bot be able to block a user from editing a message? Or is there a way? 14 messages
indigo crown ^^
slashcommand button 6 messages
jaunty terrace Hi all, I have this code to allow memebr to submit photo by slashcommand, from my test if I submit 2 times [simulate 2 p...
Fetch all channles name of specified guild 9 messages
small tide Guild is ID
Unexpected token < in JSON at position 0 unhandledRejection 10 messages
jaunty current Does anyone know why when I host my bot in my virtual machine it doesn't go past the log 2 console? when it arrives at 3...
Broken Command Handler 9 messages
summer salmon Hello! This handler was jsut working for me but when I changed the file name it just broke
Fetching all members 17 messages
summer salmon How would I fetch all users at once in a server?
tried downgrading to v13 and need help for the third time today. 5 messages
stone pivot have an error
Button functioning once 19 messages
dawn mica Code - https://srcshare.io/64978dcec50c534c8dbb3831 When I click the comeplay or edit-name button the first time, it wo...
Used disallowed intents 61 messages
desert bolt I have all intents granted in my developer portal, but my app keeps throwing the error, "Used disallowed intents".
help I can't turn on the bot 2 messages
opal wolf how to fix it?
"config" is not defined 78 messages
stone pivot ```ReferenceError: config is not defined at Object.<anonymous> (C:\Users\csj25\OneDrive\Desktop\discordbot\src\index...
Autocomplete options fields of the `/` command. 3 messages
hexed escarp Good morning. I wanted to come and ask you a question about the autocompletion of the options fields of a `/` command. W...
Why I have numbers there? 2 messages
marble inlet Why I have numbers there instead nickname?
Get username not global username 5 messages
sturdy pollen When I receive a message I access to the property author where is it the username property but that not the pseudo that ...
Viewing rate limits 10 messages
next mural When using `@discordjs/core` and `@discordjs/rest` is there any way to see my current limits and how many requests I'm a...
SyntaxError: Unexpected token < in JSON at position 0 6 messages
nimble wolf I'm using a hosting api api to send an application to square but it is returning this error, it goes through everything ...
How to update an embed after button click with new values? 74 messages
median frost My Code: https://sourceb.in/q1iy2h2Nfx I want to update my embed with the new page values etc. whenever the 'gelöst' or ...
Error: Not enough sessions remaining to generate 1 fragment; only 0 remaining; resets to 2023-06-24 8 messages
neat dune Error: Not enough sessions remaining to generate 1 fragment; only 0 remaining; resets to 2023-06-24T16:50:10.923Z
how to make timelock command 6 messages
pliant sun i want to make like if no one use the command for 12h the command will auto run.
get a unknown webhook error. 15 messages
pliant ibex Hello, I got a collector running on a message in my code 2048 so my buttons work. But sometimes there is a very small ch...
Get first message in thread with @discordjs/core 3 messages
next mural I'm able to get the last 50 messages in a thread with: ``` import { REST } from "@discordjs/rest"; import { ChannelsAPI ...
commands 9 messages
rose gyro So in a tutorial I watched, a guy was putting his commands in index.js, if I move the commands to another file, will it ...
how to detect an embed and then resend it 18 messages
pliant sun i want to do if the bot received the bot embed title call "wild pokémon has appeared!" then it will send message.
Discord bot button problem. 10 messages
jaunty terrace Hey guys I am trying to code a disocrd bot with slash-command that allow memebr to submit a screenshot which later on I ...
Message not being sent to a user's DMs 63 messages
ashen topaz ```JavaScript client.users.send(user, { embeds: [embed] }); ```
Is there a way to make global app commands (/) only work via DMs? 17 messages
safe birch I know how to prevent global commands from showing up in DMs but I'm wanting the other way around.
messageCreate and database issues... 19 messages
glacial mountain - deleted
Where are the collectors? 7 messages
low seal Where are the Collectors? Changed name on @discord packages? Thanks
998292157150535700
turn off event handler 6 messages
sharp plank code block is activated by messageReactionAdd but eventually the message that the reaction is on gets deleted making the...
I have djs @ v12 just because everything is just getting more hard to learn every new update. 176 messages
stone pivot [nodemon] 2.0.22 [nodemon] to restart at any time, enter `rs` [nodemon] watching path(s): *.* [nodemon] watching extensi...
Can't read default_member_permissions from SlashCommandBuilder? 8 messages
prisma notch I'm building a script that documents slash command attributes for a wiki page. I have a wrapper class that holds command...
Creating/Deleting (not assigning) Channel Tags programmatically 4 messages
fervent hazel Hi all ! I'm looking for a way to modify programmatically the `availableTags[ ]` array of the `interaction.channel`obj...
GuildMemberAdd event not working 11 messages
balmy magnet Idk why the event is not working, even tried doing a try catch but doesn't return anything in the console, and I even go...
sharding 6 messages
spare urchin hey! im currently trying to make a command that sends a message to a channel with embeds and components. I heard about b...
Markdown in embeds broken? 10 messages
hasty forum Heyo! when trying to add hyperlinks in my embeds it looks quite weird, see the image attached ```js respon...
How to update the interaction message? 12 messages
low seal editReply returns me "Interaction has already been acknowledg" ``` await api.interactions.defer(interaction.id, interact...
998292157150535700
undefined error reading name 54 messages
regal spear my commandhandler cant read properties of undefined it says...
fetch error... 12 messages
regal spear I don't even understand this error
Interaction Failed Async 22 messages
hasty forum Hello! i have no clue how to await an interaction in V14, but after trying, the code that is attached is what i came wi...
Outdated error? 5 messages
regal spear I was testing out a command, and it worked. Suddenly this started appearing?
Passing payload in oauth link 12 messages
fallen maple I am trying to build a discord integraion with my app, I want to pass a payload (userid of the user who is integrating t...