djs-questions

13317 threads · Page 190 of 267

[solved] Cannot figure out why embed won't send? 5 messages
exotic summit I cannot figure out why this embed will not send. If the screenshot is too small: code: https://pastebin.com/afSQJyYQ e...
Why my bot slash command is not appear 13 messages
onyx marsh I run deploy-commands like in the guide said but when i type slash command in my server only my two old slash command ap...
Not working 8 messages
sudden dune Can anyone help me? I'm new to bot developing...
How to check if all shards are online 3 messages
brave pewter I am trying to make a system that sends a message to a server once all shards are online, how can i see if all shards ar...
@discordjs package
Im new to discord.js, idk how to fix this? 8 messages
iron python Can't figure out what i need to fix, nothing seems to work
Help 2 messages
eager oasis SqliteError: malformed database schema (?) at Database.prepare (/home/runner/Anti-Nuke-Bot-2/node_modules/better-sql...
roleMembers.slice is not a function 3 messages
gleaming schooner So I have a problem: I wan't to fetch members and see if they have a role and then get the first then and splice them so...
client.user.accentColor is always null 11 messages
forest crag Hello! I have a problem. I don't know why but client's user acentColor is always null even if I fetch it. Is this a bug ...
Checking if message is from DM not working 5 messages
late quest ` client.on('messageCreate', (msg) => { if (msg.author === client.user) return; if (msg.channel.type ...
ExpectedConstraintError Invalid string length 20 messages
fading helm I've replaced the directory this is running in with `<bot>` for privacy. ```js /home/<bot>/node_modules/@sapphire/shape...
members.fetch() Cannot read properties of undefined (reading 'send') 4 messages
bright island While running ```lua var a = await client.guilds.fetch('Server ID'); var b = await a.members.fetch({ qu...
Embed YouTube video 3 messages
vivid ice How can I display a YouTube video player inside an embed that is sent by a bot, like I have a command where I give the b...
two interactions at the same time with buttons 13 messages
molten valve Multiple People are managing to click a button that should only be clickable once. It’s essentially someone clicks it an...
HTTPError [FetchError] request to httpsdiscord.comapiv9channels 5 messages
golden nova ```js HTTPError [FetchError]: request to https://discord.com/api/v9/channels/1047428819130269747 failed, reason: write E...
Expected array, received object 15 messages
pine ingot I'm trying to set up choices for a string option, but I get an error (`Expected array, received object`) when registerin...
`DiscordAPIError[50035] Invalid Form Body` When trying to send embed 10 messages
thorny bear ``` ..\node_modules\@discordjs\rest\dist\index.js:667 throw new DiscordAPIError(data, "cod...
TypeError Cannot read properties of undefined (reading 'ALL') error appears when specifying intents 18 messages
fringe phoenix hi, I am trying to set the intents of my bot, but when I try to specify the intents, i get this wacky error. Does anyon...
Shard X is reconnecting. (But never does) 10 messages
lunar wharf At the moment I just have a basic client connection with 2 Discord Servers running with this bot. I am having an issue ...
Presence Status always set to online when user has Custom Status 3 messages
warm stone According to what the API returns, if a user has a custom status, regardless of if they've chosen "Do Not Disturb" or "I...
Forum handling 3 messages
round kernel I am trying to make my bot delete a forum post when the title gets updated and includes a certain word. Would I use a T...
Button clicked inside forum thread returns missing access 19 messages
harsh hearth ```rawError: { message: 'Missing Access', code: 50001 }, code: 50001, status: 403, method: 'GET', url: 'https://...
i need help 3 messages
Error with date.now() 8 messages
mossy relic I'm making a bot which you can put how many seconds you want into the future and it tells you how long until then whenev...
How to check the user roles in interactionCreate 14 messages
shut jacinth i was trying `interaction.member?.roles.cache.has` however it says `Property 'cache' does not exist on type 'string[] | ...
Slash Commands Duplicating 8 messages
thorn hazel Every time i deploy global commands they duplicate one of them removes when i deploy it as guild but if i deploy as glob...
slash command with choices error 18 messages
granite sand Part of My Handler ```js } else if(option.StringChoices && option.StringChoices.name && option.StringChoices.description...
Converting bigints to permission string 8 messages
candid ridge How can I convert this `8n` to permission string. (Expected: `Administrator` for this situation) ```js import {Permissio...
About mentioning in Embed message description 7 messages
sullen cosmos I was trying to add mention in embed description when user join the server using `.setDescription(`<@${member.user.id}>`...
guildMemberRemove uncached members 6 messages
willow stirrup So I am capturing guildMemberRemove events and I have the GuildMember and User partials selected. When the member leaves...
Commands aren't working 5 messages
idle jasper Hi, I'm building a discord bot to test and I'm trying to fix the commands but I can't bc it doesn't recognize the comman...
Sending file without file 12 messages
gentle vector Hello, i want to send a string as a file, how can i do that?
Unknown interaction? 8 messages
lilac wadi Hi all! I have an ``Unknown interaction`` error that gets thrown on an ``interaction.deferUpdate()`` line — does anyone ...
Fetching data from a database, filtering it by only guilds handled by the shard 8 messages
shadow onyx I have a database containing data about multiple guilds, and i have to fetch some generic data (not necessarily related ...
Can not delete application commands 12 messages
[solved] How to get user input? 6 messages
[solved] I cannot fiure out this error on deploy-commands.js 10 messages
How often should client.user.setActivity() be used? 24 messages
untold cloud I currently set it to reset the activity every 10 minutes, but what's the max length of time I can set it to (while main...
Unknow interaction error 14 messages
Want to setup and confirm the rateLimit(ed) event 24 messages
Accessing the Message of a Slash Command Reply 3 messages
discord.js 13 vs discord.js v14 14 messages
Not a single command working 10 messages
west iron Not a single command of my bot is working , anyone knows what i gotta do to fix it ? no errors in console ttho
sharding context question 8 messages
How to get 'interactionCreate' events from past interactions | messages? 4 messages
Error (Cannot read properties of undefined (reading 'send')) 24 messages
autopause after playing state on audio player. 4 messages
Localizations (stupid) 55 messages
Edit followUp interaction 31 messages
undefined reading 'send' 3 messages
oAuth2 using Refresh Token 3 messages