djs-questions

9202 threads · Page 108 of 185

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...
Waiting the end of a collector (response or timeout) before sending another one 1 messages
oak ether Hello there ~ Each time a user send a DM to my Bot, I want it to send an embed with buttons or reaction which represent...
[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...
Discord.js Visual Studio Code Extensions 4 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...
file 1 messages
fierce skiff can a discord bot retrieve files from a chat?
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?
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 4 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?
Problem updating to v14.12.0 9 messages
noble gyro Today in the release of v14.12.0 I updated my bot's package which is written in typescript, now it doesn't compile anymo...
998292157150535700
Can I edit an embed in a different channel when clicking a button? 8 messages
lost lotus Title^
Hesitation between two microservice architectures 4 messages
zenith crater Hello, I'm wondering if there is a limit to the number of connections that can be made to the Gateway. Let's say I want ...
Slash command not executing 4 messages
chilly vigil My command doesn't seem to want to execute
Looking for information about "managed" emojis. 7 messages
storm knoll Hello. I am developing a bot for my server, and this bot needs certain emojis to be always available, in case the serve...
Confused with the versioning system still 5 messages
woven quarry Hi, I am coming back to Discord.JS, and a lot has changed. Online the docs mention it's defaulting to the "new version",...
998292157150535700
Disabling threads sweeper 4 messages
livid cape Trying to disable the threads sweeper but having trouble telling whether it was done correctly. Client constructor: ```...
How do I send a message in a seperate channel from a slash command? 2 messages
surreal girder I've been trying to do this but can't seem to figure out how to get the client into the slash command. Any help would be...
Problem with buttons 9 messages
lucid bolt when i first click prefix button it works, but when i click slash button it says failed interaction on discord and no er...
module not found error 3 messages
mortal nymph I am trying to run my bot but it's saying module not found discord.js and i also tried to delete the node module file an...
998292157150535700
how do I edit my followup? 23 messages
lost lotus I get "The reply to this interaction has not been sent or deferred."
Add ephemeral reply to this SelectMenu 7 messages
lost lotus How can I add an ephemeral reply to this select menu? Here is my code
i'm using slash commands and it do not work for me on a my server, but on another server it work wit 74 messages
pliant forum -
how can i tag a command slash type by its id 7 messages
nimble wolf how can i tag a command slash type by its id 1134862847977996349 it would be a command from my bot
Somehow getting forum posts from a completely unrelelated forum channel 6 messages
digital nova I have a utility function to fetch threads from a forum channel ```ts export async function fetch_all_threads_archive_co...
Slash Command Permissions 2 messages
deep nimbus In my Slash Command JSON, I put default_member_permissions What value do I put to only allow server administrator perms...
Sharding is required 10 messages
jagged adder I have setup sharding but i still get sharding is required and bot wont start. ```js // Define Packages const { Client, ...
sessionId 1 messages
ocean needle Hi, I want to ask about "sessionId" on the voice channel, I'm confused about what you mean and how to use that feature<:...
Adding a slash command to do the same thing a button already does 6 messages
burnt niche I am working on a ticket system. I have a button called "Close ticket" on a message and it is sent when a new ticket is ...
About Me 6 messages
stoic terrace Hi, I don't see any function about "about me", I would like to edit bot's about me from discord.js.
my buttons do not work 68 messages
wooden ivy her are some screenshots
what is the event for logging people joining and leaving voice calls? 3 messages
supple bramble help
`MissingPropertyError` when making a select menu 6 messages
timid sedge I'm having a problem with making a `StringSelectMenu`; discord.js seems to insist that the menu I'm making is missing th...
I fucked up. literally 13 messages
solid idol okay so i have made a bot in the past that didnt had slash commands. i literally quitted coding for 3 years. then i came...
[CLOSED] Question regarding Unicode and Custom emojis 10 messages
misty cargo Hi! Anyone knows if discord.js offers a way to check if an emoji/string is a valid discord unicode emoji and not a custo...
Unmute button not working 6 messages
dawn mica So I have a button (end stage) which converts a stage into a voice channel: - Makes the voice channel - Moves users into...
Where are the docs 2 messages
mellow citrus yesterday when i entered discord.js.org i was redirected to the wiki for discordjs/@core. but now wherenever i go on the...
998292157150535700
Forum Tag Listener 3 messages
gaunt gate Is there a way to make a listener which listens to Forum tag changes? Use-case: I have a help forum. When someone edits...
how to set my bot status to "watching" 22 messages
umbral dove Constants.ActivityTypes.GAME, this makes my bot status to "playing" , i want it to be "watching how?"
TypeError: Cannot read properties of undefined (reading 'isChatInputCommand') 21 messages
gloomy palm idk what happened, it was working fine, then I added client parameter what it was: ```module.exports = { name: Event...
sending messages code problem 6 messages
crystal arrow I wrote some codes that sends a image 'sendthis.jpg' to the chat if there's no messages for 45 minutes. ```js require('...