djs-questions

9202 threads · Page 39 of 185

So my commands doesn't work. 6 messages
sullen merlin On the cmds there is no error, but on discord it says: The application did not answer. Here are every code that is with ...
DiscordAPIError[0]: 401: Unauthorized even though im authorized and the access token is brand new? 25 messages
hazy widget I want to get user's @me info with access token, but it says im unauthorized? ```js const { REST } = require('@disc...
998292157150535700
Random shutdowns due to sessionInfo being null 35 messages
hollow glen ```json /nova/node_modules/.pnpm/discord.js@14.15.3_bufferutil@4.0.8/node_modules/discord.js/src/client/websocket/handle...
1150878580193116250
help 3 messages
amber kite how do oli make this does it require coding?
[Slash Commands] The function is not called "async execute(interaction)" 1 messages
nimble ibex code here: https://github.com/d1mitriev/disells-bot-opensource
1150878580193116250
What's wrong with this slash command? 12 messages
severe shell ```ts export default class ChemInfoCommand extends BaseCommand { constructor() { super( new SlashCommandBuil...
1150878498534199426
slash command invisibile for everyone 21 messages
blissful plover what is syntax for slash command only visible for specific role
1150878580193116250
My slash commands aren't registering in my discord server. Client.on() doesn't seem to run. 19 messages
thorn mortar Github: https://github.com/Niimaii/Harmony I am putting the repo here to make things easier. I put several console.lo...
DiscordAPIError[10062]: Unknown interaction 11 messages
plush obsidian ```js Slash-Commands registriert Editing existing embed... Fehler beim Ausführen des Befehls: DiscordAPIError[10062]: Un...
How do I make this selected? 5 messages
vague forum How do I do it as soon as I click away it will receive the interaction but it will continue to be selected even if I upd...
Random shard sessionInfo errors 51 messages
spring jolt Hello, I have recently started getting an error when trying to start my bot. The error seems to be coming from Discord...
1150878498534199426 986538542350086175
TypeError: Cannot read properties of undefined (reading '_add') on InteractionWebhook.send() call 14 messages
gritty violet I have been getting this error randomly for some time ``` TypeError: Cannot read properties of undefined (reading '_add'...
interaction.guild 17 messages
hard nebula When I use console.log(interaction.guild) it returns null. I also can’t get the owner id or the guild name
Ephemeral messages 3 messages
polar forge Is it possible to send an ephemeral message to a different player than the one who sent the command? I'm looking at try...
errors installing @discordjs/opus 3 messages
main star read below
1150878580193116250
Sending videos in embeds using embed objects 3 messages
serene zealot As I understand, the EmbedBuilder class does not allow for usage of videos in embeds, only static images. However, the D...
how do i find my AUTHORIZED_USER_ID 52 messages
obtuse tree how do i find my AUTHORIZED_USER_ID
using only id to send DM 10 messages
true yarrow hey guys, quick question. to avoid api calls, I plan on saving a user's id to my database, then when I need to DM them: ...
How to upload files using REST API? 8 messages
frail ferry How do I use `@discordjs/rest` to upload file? <https://discord.com/developers/docs/reference#uploading-files>
1150878580193116250 998292157150535700
User Installs 23 messages
radiant cradle is there any way to use the user installs for v13? i have a select few commands that id love to use with them but cannot...
reply feature 6 messages
scarlet sinew I wanna make an interaction that is used on a message where it can find all replies to a message and also find any messa...
Shard activity 5 messages
quick fjord ``` bot.once(Events.ClientReady, async () => { shardId = bot.shard.ids[0]; bot.user.setActivity({ name: `/help ...
.addChoices 4 messages
gleaming saddle Hello, little question, is it possible to link some . addChoices with values that are representative of embed? If I make...
General Question 23 messages
gloomy flame I had a conversation a conversation with a bout that saying and trying to convince me that using 1 event for each one th...
1150878580193116250 998292157150535700
How do I create a User App with Discord.JS? 10 messages
shy lynx I imagined I could use the same setup I have for... `Routes.applicationGuildCommands(env.appID, env.defaultGuild)`, but ...
1150878580193116250
premiumSubscriptionCount is NaN 27 messages
jovial helm what could be the cause of this?
1150878580193116250
I get an error 15 messages
lapis grail const { SlashCommandBuilder, ActionRowBuilder, ButtonBuilder, EmbedBuilder, ChannelType, Permissions} = require('discord...
vouch bot win rar file 7 messages
lyric tree need help to add the bot to my discord server please help me
setName/Description`Localizations` 9 messages
gleaming saddle Hello, I have a question for. setName/. setNameLocalizations, . setDescription/. setDescriptionLocalizations is it poss...
DJS v12 to v14 or newest help 6 messages
slate raptor So I am really outdated with my old bot I’ve tried to figure out the new docs and I don’t know I am use to v12 so I am n...
"CORS" dashboard issue. 6 messages
crystal bluff *Hello!* I am currently unsure what Is going wrong in my piece of code, I am hosting the dashboard on `glitch.com`, and...
1150878580193116250
Team Status command 25 messages
prime vortex The command will now always return this error:
guildMemberRemove event don't work 8 messages
wanton depot Hello, the `guildMemberRemove` event does not trigger when my second account which is the server while in the same circu...
REST Crash 28 messages
covert nest I am using the REST class of discord.js to edit messages with the interaction token, I am using .patch on the webhookMes...
1150878580193116250
How do i is user dm enabled? 4 messages
weary venture Question
Argument of type 'ButtonStyle.Link' is not assignable to parameter of type 'ButtonStyle' 34 messages
buoyant basin ```js Argument of type 'ButtonStyle.Link' is not assignable to parameter of type 'ButtonStyle'.ts(2345) ``` Im using `@d...
998292157150535700
how do i start doing bots? 24 messages
fierce breach How do I start? I’m a beginner
1150878580193116250
Slash Commands were showing just fine, then they disappeared after a server restart 39 messages
mint dove Hi, I was updating my bot, the commands were showings in the serv, and all of sudden after a restart of the bot, they st...
1150878580193116250
canvas is not registering my font 2 messages
ornate notch Why is canvas not using my installed font? i am using `await registerFont("Fonts/gagalin/Gagalin-Regular.otf", { family:...
Keep getting 500 Internal Server Error when editing messages 6 messages
opal frigate Hello discord.js community, # Context **Node version: ** 16.17.0 **Discord js version: ** 14.9.0 I'm trying to implement...
1150878580193116250
Bot got spam added 1 messages
ember void How could I fix my bot being added to servers that had less then 2 members because it got spam invited to random servers...
guild members timeout 78 messages
final harbor I got this error on my bot
1150878580193116250
Best command handler 19 messages
earnest lagoon what is overall the best command handler i should be using or a package... people in diffrent discord servers recomend ...
Cannot read properties of undefined (reading 'roles') 56 messages
plucky hedge I am trying to get the user's highest role and compare it to a role they are attemping to give another user through a sl...
Message content is empty, unless the bot is tagged 38 messages
storm creek The message content field will always be blank, regardless, unless I mention the bot. Why's this?
AFK Command buttons not working properly :( 9 messages
elder anvil here is my error code + my actual code is attched ```DiscordAPIError[40060]: Interaction has already been acknowledged. ...
Handling attachments in ModalBuilder 4 messages
lapis magnet Hello! I was wondering if the Modal builder is able to handle image attachments? I've been trying to use the AttachmentB...
Handling commands with promises 100 messages
versed carbon Hi! So I have been working on this problem for a bit now. I've slowly solved most of the issues I've run into, but this ...
Bug of discord.js Message.mentions.members . Doesn't include all mentioned members. 40 messages
low merlin I am fetching a message by id and I am trying to read mentioned members in the message. The problem is it doesn't return...
1150878580193116250
ButtonBuilder Generic 2 messages
gentle peak Is there a reason that the ButtonBuilder does not have a generic type that allows you to specify exactly what type of bu...
1150878580193116250