djs-questions

13317 threads · Page 122 of 267

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...
@discordjs package
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...
I am getting random undefined errors? something is wrong with discord.js 35 messages
regal spear I need some help with this.
i was first useing replit but peaples keep saying its bad so i exported the code to visual studio 6 messages
high flicker but now i cant find how to run the code :/ ps: its in my browser cose for some reason my pc dont want to downal it
error with pm2 nodejs server 2 messages
pseudo compass SyntaxError: Unexpected token '.' at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (intern...
help with buttons 55 messages
wet pier is it possible for the bot to send another message after clicking a URL style button?
Hide Embed Content 12 messages
viscid zinc So I have something like this working for my bot. Essential the bottom embed tells the bot to consume any reply made to ...
Is there any way to know when a user has purchased or cancelled/not renewed a server subscription? 23 messages
ebon pond Couldn't find anything about it in the guide. I'm on `14.11.0`. Thank you!
Autocomplete failing to load choices 39 messages
snow galleon Here is my code: ```JS async function handleAutocomplete(interaction, gamesCache) { console.log('handleAutocomplete...
bump reminder with discordjs 21 messages
wet pier how can i make a bump reminder for disboard with discordjs?
checking someones roles while in VC 2 messages
applied Tags 43 messages
wet pier so im trying to make my bot send a message when a certain tag is applied to a thread ```js client.on(Events.ThreadUpdat...
Exit the Client Ready event 7 messages
jolly hare Good evening, I have a js script which is used for a cron task, so I would like it to stop by itself after execution, bu...
interaction.reply and web3 library issue 6 messages
wind path I receive an error during `interaction.reply` . I use discord.js (ver. 13.16) and web3 library to send transaction from ...
Needing help with turning a discord bot online. 48 messages
versed dock 🙏 The bloody video I followed isnt working for me. Needing some help here.
Bot staying online when code isn’t running 4 messages
scenic steppe In Discord.py, when I stop the code from running the bot account instantly goes offline. Why does it take a few minutes ...
shardCreate/ShardingManager with shards: 'auto'? 6 messages
slender mirage Possibly a dumb question about sharding — I apologize if it is. I'm using `shards: 'auto'`. This is because for this sp...
How to get a list of all pinged members in a message (not interaction) 9 messages
sage aspen ye
Question 15 messages
viral girder So, I am just wondering how do I make an application form with a context menu popup and send results to a channel?
Bot role with emoji 19 messages
lean pond Hi, I wrote the code for the bot. The essence of the code: When writing the !create command in the chat, the bot displa...
send message to user in PresenceUpdate event 31 messages
hardy phoenix How can I send a message to an user when the PresenceUpdate event was called?
RPC
Dynamic Command Arg. 5 messages
stoic wave Hi, can i do dynamic command arguments with completion? For Example `/trade offer <user> <item>` `<item>` Should have Au...
Need Help with Launching Multiple Shards Simultaneously in Discord.js 6 messages
opal osprey Hello everyone, I'm currently working on a relatively large bot that utilizes more than 200 shards. We're receiving a m...
@discordjs package
Modal is not showing after selecting an option 22 messages
wooden wharf Help me pls gonna send the code
conversion of ApplicationCommand to SlashCommandBuilder object 45 messages
dense summit is there a way to convert `ApplicationCommand` to `SlashCommandBuilder` object? coz the object received from fetching th...
discordjs managers 9 messages
lethal spire Hello. I'm making my own discord api wrapper module with @discordjs/core, @discordjs/ws and @discordjs/rest, but do you ...
@discordjs package
SequelizeDatabaseError because of array? 5 messages
wispy mountain Hello 👋 So I am trying to make a database This code works just fine ``` const Sequelize = require("sequelize"); const...
How does RequestManager work? 5 messages
river wave I was looking at the source for `@discordjs/rest` to see if I should stop the sweepers (*since I only use REST, trying t...
@discordjs package
Emoji shows in a server but not on another (host on a third one) 6 messages
sacred dirge Hi, i'm wondering why the same embed show differently on a given server but not on another. Both are community servers. ...
how to add tag to thread? 3 messages
hasty elk I want to add a tag to a thread
help with function(?) 2 messages
wet pier trying to make an if statement out of the not scrambled word if that makes sense https://sourceb.in/gxwDVtkYvN
Weird bug (?) with typescript and SlashCommandBuilders 7 messages
waxen jay I've ran into a weird issue with ts and SlashCommandBuilders
`guildCreate` event doesn't give the discord user ID who added a bot inside guild except super admin 6 messages
granite ginkgo When the `guildCreate` event is triggered, I am only able to retrieve the `ownerId` of the guild. However, when a modera...
Information 2 messages
guild members data not refreshing on .fetch() 12 messages
toxic elbow ```js async function fetchMember(memberID) { const guild = await client.guilds.fetch(guildID); const guildFetched = ...
Bot not seeing all users in v14 19 messages
spiral cairn I'm trying to update my bot to d.js v14 and I am running into a problem where the bot does not cache all users of the gu...
Updating from v12 to 14 9 messages
userUpdate event is not being emitted 125 messages
eager trellis I want to have an UpdateUser event but I got an intents error.
how to add slash commands to a discord bot 3 messages
sturdy moon I tried this and it didnt work, I followed a tutorial to make it, I dont know how to code, and I have no idea what versi...
Using Buttons Properly 5 messages
wispy mountain Hello 👋 So I am creating a staff application Modal, I haven't actually gotten to the modal part of things yet tho ahah...
Getting a Type Error on getApplicationCommand function 16 messages
wispy mountain Hello 👋 I have been learning how to make a discord bot and wanted to make an advanced command + event handler. One of ...
@discordjs package
what this mean by this 21 messages
silent pewter idk what this mean about modules
Use a webhook in a forum channel 18 messages
wanton fox We can create webhooks in forum channels but can we send messages with the webhook in a specific forum post ?
i need help 5 messages
silent pewter what do this mean
How to update a v12 bot to current 320 messages
dire sundial i made a bot "rick-bot" 2 years ago and it has been working fine until the 3rd May 2023 and i have the replit but i didn...