djs-questions

13317 threads · Page 3 of 267

Handling ephemeral updates/deletes without a corresponding interaction 13 messages
lunar oar I'm building out a views framework on top of d.js for my application that provides lifecycle notifications to a mixture ...
bun @discordjs package
Multiple events about same thing 8 messages
keen dove Hey, I have action logs system like (log when someone got role etc), but sometimes it appears to send events from past (...
node earlier (update!)
Command Cooldowns? 19 messages
dusk violet does the new djs version support command cooldowns yet? or we still gotta use the npm? (haven't been here for a whil.)
Discord clan tag detecting 4 messages
unkempt igloo can somebody give me an example to detect when a user reps the servers “clan” tag so it can give them a role?
Detecting other activities when using RPC 6 messages
silver oyster I have an RPC implementation that is **working**. * node v20 * using ipc transport * application requires no scopes (so ...
RPC
Emoji bot 2 messages
hearty herald Guys anyone can tell me how to use emojis sending thing in bot? Like My bot uses emojis.js (where bot stores the id of ...
node
Accessing properties of APIChannel without narrowing 34 messages
fair sable I'm trying to work with the `APIChannel` type from `discord-api-types` and running into an issue working with this discr...
node
Help with setting up slash commands. 18 messages
delicate holly Hello, I am a beginner, and learning discord.js. I have problems with setting slash commands.I tired my best...
node
channel.messages.fetchPins() does not return 44 messages
lyric maple I've been noticing an issue recently where when calling channel.messages.fetchPinned() my bot hangs. It doesn't return e...
Receiving incorrect Missing Access errors until bot is restarted 150 messages
cunning elbow ## **What are you trying to do?** Send DMs to a user who has added the bot to their account. ## **What's the problem?** ...
node
components v2 10 messages
pastel folio I Nee Help how can my bot send an embed (components V2)
How to detect role assignment from a Discord invite in Discord.js v14? 5 messages
rigid karma ## **What are you trying to do?** I want to detect when a new Discord invite is created that automatically assigns a rol...
node
User Applications 16 messages
autumn hawk How can I pull the applications thrown to the server? Does djs support pulling applications?
status 7 messages
hearty herald How to use status like this
node
Looking for Remote Workers – Paid in Crypto! 3 messages
wraith karma ✍️ All work is fully remote, flexible, and paid in crypto. Requirements: 💻 A computer 📶 Web development experience 🗣...
bun RPC @discordjs package node dev release
Slash Commands 6 messages
bleak yew Hello! I’m still in the process of reading the guide. Please bare with me. I’m not sure if I missed a spot but upon mod...
Setting client user presence fails siletly 17 messages
timid terrace For some reason, either calling ClientUser#setPresence; or providing the options as ClientOptions don't work. ```js // A...
Bot doesn't retry a request after hitting a rate-limit 9 messages
north quail Hey there, I am trying to create roles in bulk. But every time the bot hits a rate limit. After teh retry time, the bot ...
Sharding questions 204 messages
winter knot Hi, -# I'm making a post so any future questions I ask I can easily come back to them in the future I have a few quest...
New Modal components? 4 messages
sleek jungle Hey 👋 Quick question is there any info on when the new modal components (Radio Groups, Checkbox Groups, and Checkboxes)...
@discordjs package
Error 5 messages
slender forge ``` > bun src/index.ts 2760 | constructor(enumShape, validatorOptions = {}) { 2761 | super(validatorOptions); 276...
bun
How to find out if bot is rate limited? 9 messages
rare coral Hello, I'm trying to get a message when the bot is rate limited but I can't really seem to make it work, here's the func...
node
Buttons Inside Embeds 5 messages
wraith plover Is it possible to add buttons inside embeds. Cause i have see it a lot of times but i can find any documentation to see ...
node
Get a user's guild tag upon join 28 messages
jovial valley Hello! I'm implementing a blacklisting system for a client of mine, and I was curious if it's possible to get a user's g...
RangeError: Non-premium buttons must have a label and/or an emoji. 10 messages
full radish Hello, v14.25, I've got this error ` Non-premium buttons must have a label and/or an emoji.` This is my code : ```js ....
node @discordjs package
Code can run in the local env but can not run when deploy it to Render 16 messages
mystic crystal Hi guys, I want to ask some questions about Discord bot development I have this code, and work well in the local enviro...
node
GuildMemberRemove not emitted on voluntary guild leave? 4 messages
prisma notch I'm writing some data cleanup on my bot for when guild members leave. GuildMemberRemove seems to be working just fine wh...
Is there a UserCreate event or something like that for user installed apps ? 3 messages
storm solstice Hello, I'm working actually on a user installed app. I want to DM the user once he add the app. But i'm looking for a gu...
node
I wanted to create a discord.js code for my bot that using External app Command user spam 21 messages
lunar wigeon I want to delete the message & give timeout the executed user and this bot is not inside the server but it spamming
node
Section 2 messages
royal river Hi, how to put the button at the bottom instead of right?
node
Bot randomly not logging in anymore 31 messages
dull wing Hello, randomly my bot is no longer logging into discord.js. No changes occured and it randomly won't log in anymore. Is...
bun
I cant sign in my account 5 messages
dreamy grove because of the Verification/2FA Required and i dont have passkey, is thee a way to sign in?
discord presence 16 messages
wicked dome hello i downloaded discord presence on visual studio code but the status from vs is not on discord wjy
Discord
Channel is a voice channel or not 39 messages
restive breach Hi, how to know if a channel is a voice based channel ? like stage or voice
bun
No RPC events 5 messages
slate lagoon RPC events that require a subscription don't seem to fire and im not sure why been testing with this program ```js cons...
RPC
Can someone make a Bot for me? 8 messages
trim dock its pretty simple, i have the code i just need someone to install and get it on discord!! heres the code // index.js //...
node
is there a way to copy the json of a discord embed 15 messages
boreal hare like this one I tried making and couldn't figure out how. thank you
bun
When iam doing /start it says league doesn’t exist 3 messages
queen trench Idk hownto fix it
node
GuildMemberRemove leave log shows unknown user? 3 messages
worldly lake So i have a member log, for both join and leave, but sometimes when they leave, it shows as unknown_user, is that a user...
node
Channel Selection in modals? 21 messages
dusty linden So, the question is basic: are we able to put channel/role/user selections in modal structures?
node
Seemingly impossible "Interaction has already been achnowledged" 47 messages
queen saffron Using [email protected]. I'm getting a seemingly impossible error, stating that the interaction has already been acknow...
deno
Where to get the order of a DC bot 4 messages
merry dragon Does anyone know where I can get Discord bot development-related work?
node
Client Ping? 19 messages
low mural `Client.ping` is returning undefined, and not showing up under properties, am I calling it incorrectly? Pls help
Entitlement events 3 messages
scarlet turret Are entitlement create|update|delete events executed only on the first shard or on all shards ?
bot doesnt repond in time 4 messages
short thunder i have this basic slash command which gets loaded but it doesnt run ```js import { SlashCommandBuilder } from "discord...
making an anti racism discord bot, need help 5 messages
hollow tusk I successfully made an anti-racism in Discord, but i need help creating more basically, I what I do is I set up a bait ...
node
What's the max value for TextChannel.bulkDelete() 8 messages
low mural Just wondering what the max value is for `bulkDelete()`
why does this not work with messages in dms? 32 messages
hollow tusk check attachment
node
fetchVanityData 6 messages
rotund dew Hello, I have just a normal discord client with all the intents like Guilds, GuildInvites even some partials. When I do ...
Modal Interaction Error 4 messages
placid remnant Heyo! I'm currently working with this in my code: ```js await interaction.showModal(modal); const collectorFilter = (i)...