djs-questions

13317 threads · Page 29 of 267

retrive user gaming activity history? 3 messages
crisp gulch Hello, is there a way to retrive a user gaming activity history without building a DB? I can get game from when 'User is...
using SlashCommandBuilder in Constructor 20 messages
ivory roost Hey im updating my old discord bot to v14 and used the slashcommand builder in a constructor after updaing it does not w...
@discordjs package
Track invite origin 20 messages
chrome meadow Hello developers! I am trying to set up a tracker for different invite sources for my bot but I keep getting a `Missing...
Can i get sponsor role? 2 messages
hoary flax I have sponsored for a month, but i don't get any role ;-;.
@discordjs package
Roles Cache sometimes inconsistent 11 messages
barren pebble I got very simple code ``` const role = channel.guild.roles.cache.get(pingRoleId); size = role?.members?.size ``` And t...
A collector that collects messages from a predetermined channel 6 messages
long violet ```js const collectorFilter = m => m.content.includes('discord'); const collector = interaction.channel.createMessageCol...
bun
Thread fetchStarterMessage with Attachments 9 messages
soft aspen Working on a bot that detects when a thread is created in a particular forum, and then returns the first starter message...
node
ephemeral is not working on button interaction. 23 messages
echo iris I don't know the reason, can someone help me?
node dev release
More URL schemes on link buttons 3 messages
lyric rose https://github.com/discordjs/discord.js/blob/main/packages/builders/src/components/button/LinkButton.ts#L22-L29 I was h...
Time 11 messages
node
How deploy slash commands only in one specific guild 3 messages
open minnow I would like to register a slash commands only in one specific guild but not in the others in which my bot is. How can I...
node
Bot not starting invalid token 79 messages
summer hawk Yesterday, I coded a bot and got it running. I tried adding it to Ghostbot to test something, but it didn’t work. This m...
node
Shard Variables 3 messages
quick fjord ``` bot.once(Events.ShardReady, async () => { imgchannel = bot.channels.cache.get(process.env.IMAGE_CHANNEL); vidcha...
It doesnt work. 7 messages
sullen merlin So I have a discord bot that always when someone deleting a message it could not find the deleter. can anyone help me? t...
Bot Preformance - Sending the same message to many servers 17 messages
jagged folio My bot sends he same message to many servers (nearly 1,600) at once. The message includes: - Embed - Content (Role menti...
@discordjs package
title embed text forms 17 messages
wary quartz # how can i put like this text in title embed
Website interaction for discord api 6 messages
hollow spade It's very frustrating to do this. I am trying to interact with Discord API with a website such as Google Sites or HTML. ...
node
I am getting this error when the snippet is right. 13 messages
acoustic glade Hello! I am making a bot, very complex handling system which works perfectly, until now... I have made a command and yet...
node
Quick question : Do I need to reconnect the SQL database / use a pool connection lib in js or no? 5 messages
rugged eagle Hi, I was making my bot with Java and I was using Hikari, but I am learning JS now and I don't know if using pool connec...
[Moved] 12 messages
fading ginkgo It's as the title says. I've been trying to solve this problem for hours and I just don't understand it.
deno
im having problems to get all users with certain role 3 messages
dusk sand let usuarios =interaction.guild.roles.cache.get('1299746941327904779').members.map(user => user.displayName); im gettin...
Quick question on managers 6 messages
formal nova I just wanted to ask a quick question on managers (specifically a `GuildMessageManager`): how do I use this? Is it a cla...
How to create a thread with user permission for viewing? 2 messages
faint pasture I use members.add, but I want to create the Thread With "permissionwrite" discord.js v14.14.1 ```js async function cre...
Giving users one coin, when they join a server through a command. 3 messages
storm rune The bot rewards users with coins each time they join a server from a command "farm" The bot automatically tracks when a ...
How to get how many users have installed the app 4 messages
clear veldt On discord.dev, you can see how many users have installed the app, but I don't know how to get this value inside of Disc...
Is there a way to prevent messages from being grouped when posted by the same bot? 3 messages
stuck shadow Is it possible to prevent messages from grouping when they are sent by the same bot? I'm writing a bot that relays messa...
"Interaction already acknowledged" error occurs only sometimes. 9 messages
deno @discordjs package
Is there an efficient way to get date as option for interaction ? 14 messages
green lichen I am actually making a discord bot for my university and I need to add a command to get the timetable, but the problem i...
node @discordjs package
Can I pass a props into `interaction.showModal()` ? 4 messages
full radish I would like to pass a props into `interaction.showModal()` , because I've got separated events and my value `channel` i...
Discord Changes to Autofill - Invalid Entry Since Recent Discord Client Update 13 messages
lusty helm Hello. In the latest discord update, I've gotten reports from clients that they are unable to use one of my bots atm due...
Discord
Discord slash command(s) deleting itself. (Sorry closed last post too early) 70 messages
honest quarry Hi. Sorry, I marked my last post as solved too early. I cannot figure out why when the bot launches and the slash comm...
deno
Why might a slash command delete itself after one use? 18 messages
honest quarry Hi. I just created a command for my bot which works as expected the first time, and then just deletes itself from the r...
deno @discordjs package
Why users can't dm bot 3 messages
lean owl help
Bot tries to reply to a system message.. but what is it? 13 messages
quaint loom What would the system message even be? I thought only users get these DMs from Discord 'SYSTEM' or is it bots too? If so...
GuildForumTag not working on discord.js v14.16.3 on my API 11 messages
true robin It shows null even though the user has a tag.
node
error message and i cant solve it 29 messages
shell vault there is a error that i cant fix, idk why, but can the dev community please help me 😭🙏 - **included files:** - Scre...
node @discordjs package
Not showing avatarDecoration on my API 17 messages
node
How to run recommended ("auto") shard count all in one thread? 8 messages
cunning elbow As far as I can tell, the shard manager is always [either multi-process or multi-threaded](<https://discord.js.org/docs/...
node
Context Commands Registering 15 messages
merry nexus I try in more than one way to record my commands, but they do not register my code: ```js const rest = new REST({ versio...
What happens at 2,500 guilds/shard if you don't automatically reshard 26 messages
tired field What happens if a shard exceeds its maximum number of guilds? Does that shard crash (due to discord disconnecting the ga...
node
Guilds request AI 2 messages
dreamy shoal ```js app.get('/users/guilds', async (req, res) => { const token = req.cookies.token; console.log('Token receive...
How do I convert this a permission int into an PermissionString[] 8 messages
glacial nexus Hello, I am watching the `GuildAuditLogEntryCreate` event and when a permission is updated i am getting this in the entr...
node
Does the REST handler retry failed requests? 26 messages
cunning elbow See title. I'm mainly referring to errors with a 5xx code, but I do want to know if the REST handler retries any request...
node
Fetch all reactions from a message but without cache 14 messages
burnt hollow Hey there, is that a way to fetch all reactions attached to a message without using the cache function? This is my curr...
Do not know how to serialize a BigInt at JSON.stringify 8 messages
Any1 knows why i might be getting this error ? 5 messages
orchid ruin Code and error in the chat
Make a select menu builder for certain roles? 12 messages
torpid horizon I am kinda new to coding and confused on how I can make a select menu for certain roles. I can get the menu sent but don...
Bot that listens to code words 5 messages
fleet hawk How do I make a bot that listens to a "secret code word" and performs an action when someone says it? This cannot be a s...
Cmds not loading 5 messages
lean owl e
Ephemeral didn't work 11 messages
next cedar i have no idea why this code not working