djs-questions

13317 threads · Page 109 of 267

GuildMemberRemove and roles 6 messages
cold sand Hi, may someone tell me if the Member from GuildMemberRemove event has the role property with roles before they leave th...
How can I get all users with a role ID, then scrape their nicknames on the server 27 messages
lost lotus Title^
Modal Help 23 messages
oak moth I have created a Context Menu Builder using Reciple (TS) with the file name `1️⃣ AddIt.ts`, I also have modals handler `...
Autocomplete Command not sending update 4 messages
arctic siren Not too sure how to explain it exactly however, I have a command with multiple Autocomplete options, therefore I have a...
trying to set up a bot but it doesnt work 30 messages
compact girder i was setting up a bot and after attempting to bring the bot online it failed
@discordjs package
create-discord-bot issues 30 messages
north cape Im trying to run `npx create-discord-bot . --typescript` and for some reason, rather than creating the files, it just op...
@discordjs package
Numbers in front of text. 4 messages
tranquil lava I sent the message: ```testing``` in my server and i console logged it using ``` console.log(`${message.content.sl...
Emojis on SelectMenu 15 messages
hidden grove Hello, I'm trying to put an emoji in my select menu (.setEmoji) but it doesn't work. Can someone please help me? Here ...
Typings build errors node_modules/discord.js/typings/index.d.ts 5 messages
kindred pagoda `node -v` `v20.3.1` `"discord.js": "^14.12.1"` `"typescript": "^4.9.5"` `skipLibCheck:true` `strict:true` Unable to fig...
Change TS type of Client 9 messages
rich valve I've made some changes to the default Client by adding a config file and some collections. While this all works I can't ...
dungeon game 2 messages
solar valve I have a game project for school and the questions are asking to move the monsters in my code, I'm not able to move them...
threads, forums. parent ID 3 messages
light orchid I might have glossed over where this is. Trying to make a event listener that can see the channel ID of the parent threa...
ComponentType.SelectMenu not working after [email protected] 7 messages
sleek shuttle It was working just fine before
REST dont make Slash Commands 16 messages
supple pumice My guild Slash Commands dont register any more A few days ago, all was still working. But I added a context menu handle...
@discordjs package
Is there a way to use a context menu builder and then get the message's author? 26 messages
oak moth I want to right click > Apps > *Click on my Context Menu App* > `console.log` the author of the message (which I use the...
What's the best way of storing an interaction in a Redis instance for a later reply? 6 messages
south root Hi there, I have a command that takes awhile to process, so I'm using a queue to do each one, one at a time. I'm runnin...
Display Attachment in Embed 9 messages
noble remnant The attachment option returns: https://media.discordapp.net/attachments/889518013429194782/1136474759866109952/image.png...
@discordjs package
Is there a way to ping/show an ephmeral message to numerous people after like a set time 19 messages
lost lotus Title ^
Copying a slash command execution 6 messages
mint dagger Good evening, I was wondering if there's any way to copy paste a slash command execution, since my users will have to d...
If user has higher role than bot 9 messages
tidal yoke Currently i have this code: ```js let targetMember = message.mentions.members?.first()``` how can i check if...
Unknown Interaction for buttons 9 messages
cunning oasis Hey, im trying to create a message wich has buttons but it doesnt work. Sometimes it works and sometimes not. I get the ...
Rate Limit 20 messages
astral shell is it possible to retrieve the header returned when the bot is being rate limited by discord when sending messages? acco...
@discordjs package
Bot won't connect to client or deploy commands with no errors 11 messages
sinful linden My bot randomly stopped connecting to the client and it also won't deploy commands. It just says the started refreshing ...
don't know how to go about getting rid of this 28 messages
karmic eagle i'm not sure what to put in my `memberActivity?.name` field to make it show whatever the user is playing other than "cus...
Threads 4 messages
scarlet pine hi, when creating a thread with a bot, we can define a duration before the thread is archived. does the bot need the Man...
Regarding the buffer.File 3 messages
jovial burrow Should I use an alternative? (idk if there is one) Will this get removed in the future? Or is it safe to use this?
[TS] message member is possibly null 13 messages
rain skiff making something that uses `message.member` to check permissions of a user npm v.9.6.7 node v.18.3.0 discord.js v14.11....
How to get Interaction choice name? (djs v14.7.1) 3 messages
fringe thorn Hi, I have an interaction with some choices. Every choice has a name and a value and I need both of them. I know how to ...
Issue with the implementation of a custom TextInput class 2 messages
eager glen Hello, I'm trying to implement the following class in order to create a TextInputBuilder without having to use setPlaceh...
Problem with AuditLogs (MessageDelete) 15 messages
vital scarab I have some problem. If some other person deletes my message, and then I delete my messages, it will write that he delet...
Discord Invites 4 messages
dawn zephyr Hey, Can someone explain me how can I fetch invites (who invited the member & what is the invite code) in both discord.j...
client.on is not a function 23 messages
golden rose How do I fix his
slash commands code 5 messages
golden rose Anyone have a good slash command script
getting partials for reactions when only ID is guaranteed 10 messages
amber abyss I just saw this in the d.js docs > WARNING > Partial data is only ever guaranteed to contain an ID! Do not assume any p...
[TS] how come .send doesn't exist? 4 messages
rain skiff ```ts client.guilds.cache.get('asdsda')?.channels.cache.get('asd')?.send() ``` dont mind that the string fields are asd...
Problem with my slash-commands.js 2 messages
Discord.js Visual Studio Code Extensions 5 messages
halcyon pier Looking for someone to guide me on the best extensions to have installed before starting development.
Hey problem w my embed 22 messages
wet folio i have a problem w my embed, the command dosnt work at all, if anyone know why it would be great to help me a little bit...
TypeScript .getSubcommand() issue 5 messages
glass apex Hello there. I'll make this as short as possible. I am starting to port over my code to TypeScript for the sake of makin...
Is it possible to get the last message of a guild member? 3 messages
minor heron This is what I found but it doesnt seem to work: ```const content = user.lastMessage.content;``` I think its an outdated...
How to use LastMessage 8 messages
@discordjs package
send a message to random channel on join 21 messages
wet pier if my bot has permissions, how can i make it so that it sends a message to a random channel when joining a server?
Voice Error DiscordJS 13 messages
@discordjs package
Giveaway code 8 messages
gray magnet I'm not fully sure if this is the right place to place it but lets try; In the file is my code for the giveaway part o...
CommandInteractionOptionResolver broke since updating to v.14.12.1 3 messages
warm bobcat Hey, did they change something to the OptionResolver? I looked at the changelog but can't seem to find anything.. howeve...
Embed images no longer loading 13 messages
civic scroll ```javascript const embedVar = new EmbedBuilder() .setTitle(title) // .setDescription(description) .addField...
broadcast eval 4 messages
solid moth If i wanted to use do `await this.client.shard.broadcastEval(findMembers, { context: { userId } });`, and the function f...
How to know who pressed a button? 3 messages
lucid bolt my command has a button, when someone press it i want to update the message and write here that him pressed the button
having a queue 5 messages
lost lotus So im making like a tournament bot. and when you enter the queue for a 1v1 it says 1/2, and when another person joins th...
Time of Role Assignment 4 messages
tranquil gyro Is it possible to show when, i.e. at what time a user received a certain role?