djs-questions

13317 threads · Page 57 of 267

How to get content from a reply message 6 messages
noble raft Hi, I'm very new in DiscordJS, and try to create first bot with `/echo` command, I already can make echo command like th...
.addChannelType not working? I am still able to select voice channels. 2 messages
honest quarry Title is self explanatory. I am not sure of the latest way to use .addChannelTypes if I am currently doing it wrong. I s...
node
How to set interaction select complete 8 messages
sonic wraith StringSelectMenu
Working collaboratively on discord bot 7 messages
main panther Kinda a general question, but how do I let other people contribute to and run my discord bot? I'm in a group project ^^
Error cannot read FLAGS 2 messages
pallid cobalt I’m was working so peacefully but what’s wrong with my code? To get this stupid error
node
what would be the best way to generate an invoice like this? 2 messages
exotic marsh generate dynamic pdf with help of html/css? OR is it possible to use this image as template then write over this image?...
pls help fix error 17 messages
nimble relic ``` D:\mercury\discordBotv13test\node_modules\discord.js\src\client\Client.js:548 throw new TypeError('CLIENT_MISS...
interaction.client.commands 139 messages
prime nebula How do i access to commands while interaction.client.commands doesn't exist?
Ways to get component input from another script? 4 messages
honest quarry For my bot to work correctly with what I have going on, I need the "selectedMember" input (from a user select menu) to b...
node
Trying to get user input for a Wordle game (interaction.channel is null) 21 messages
main panther Hi, I'm trying to create a slashcommand which takes in user input as guesses and compares it against a random word. I'm ...
embed description 6 messages
proven drum Why is the that when the embed is being sent, it gives the error of invalid body form, embeds[0].description[BASE_TYPE_R...
(v13) Target not connected to voice 4 messages
clear mortar Our bot is not able to correctly move certain members. Even though they are connected to a channel the bot has acces to,...
add reaction to a reply message 5 messages
vivid jacinth ```javascript console.log("Hello world!") ``` i'm trying to add a reaction to the replying message at a slash command Co...
Mapping command data to an ApplicationCommand 46 messages
thick comet Hi, I'm trying to make a way to recognize if there's an ApplicationCommand that matches (exactly) the data from a SlashC...
node
How to get clean text without markdown markup? 34 messages
sterile kiln Hello. For my bot I need to retrieve text after it is rendered with markdown. The problem is that I need to take into ac...
node
Error with commands 4 messages
dusty bluff Hey, here is my code: const { ApplicationCommandOptionType, PermissionFlagsBits, } = require('discord.js'); ...
node
MongoDB Space requirements 8 messages
azure nacelle Hey, i’m making a new Global rpg bot, with avatar theme. I saving a lot of things, like items, xp, levels, pet xp+level...
MongoDB adding to same profile repeatedly 2 messages
remote zinc ```js const { Client, Message } = require('discord.js'); const calculateLevelXp = require('./calculateLevelXp'); const U...
browser-compatible package 7 messages
red whale is there a way to make a browser-compatible copy of discord.js? i think djs used to use webpack to do so but im not sure...
@discordjs package
Is it possible to keep message components active in a loop? How do big bots handle timed out buttons 8 messages
honest quarry Let's say I want these button components (moderation actions) to be available as long as they can be, is this possible w...
node
premium system 18 messages
hushed pond Hello, I’m curios of how people make there subscription based discord bots like do they do it via the bots code or by th...
Interaction Create and Button Error 22 messages
arctic edge Terminal: ``` No command matching buttons was found. Error executing buttons TypeError: Cannot read properties of undef...
Unknown Issue with some Commands 44 messages
rare coral Hello, I have an issue with some commands, they cause the error in the screenshot. only a few new commands are affected....
node
slash command badge 11 messages
royal oriole Helo my bot does't have the badge for slash commande but i have 0 error :c
CollectorMessage 14 messages
valid dawn Hello, I don't understand why my collector isn't working. If someone could help me that would be great!
node
Fetch a message by using the url 8 messages
jade vector I know we can get a message with channel and message ID, but maybe it exists a methods to get from url directly, instead...
node
ChatInputCommandInteraction options problem 11 messages
steady wagon Hi, I got little type related problem with getting the `ChatInputCommandInteraction` options. The problem appeared when ...
chalk issue 2 messages
soft galleon how do i fix this
Please help me with clustering 3 messages
rugged moss What should I do with the shard list?
node
Nested collector for button interaction in slash command 2 messages
last veldt Hello! I currently have a slash command that creates a thread in another channel and posts a message with 3 buttons. One...
My Button sends a embed clone 2 messages
Do sweepers invalidate references to the swept object? 4 messages
balmy flame For instance, if my sweeper setup is ```ts { GuildMemberManager: { maxSize: 200, keepOverLimit: (member) => me...
node
Buttons dont work for my quiz 4 messages
Change a single button component detail (such as style) using update or something similar 25 messages
honest quarry I want to change a button's text and style upon an interaction submission. How can I do this?
node
Missing required "data" or "execute" property 3 messages
stable stag Hello.ts ```ts import { SlashCommandBuilder, type CommandInteraction } from "discord.js"; export default { data: ne...
Just updated, confused about prefix commands 10 messages
dusky locust I just updated discord.js, and I don't know how it works now but I skimmed through the guide and only found information ...
node
Cannot register commands globally 9 messages
crisp bone I am trying to register my slash commands to every server that my bot is in, but for some reason I can't. This code work...
Error while deleting interaction message 4 messages
icy owl so i am having an error while deleting an interaction message with a button on it. the message actually gets deleted but...
Comparing commands 15 messages
normal forge Rather than setting all commands when I change one command, I am looking at designing a system that fetches the commands...
second .update function erroring due to interaction already "replying" 12 messages
honest quarry I'm sorry if this is a common issue asked, I just need an answer as to why I cannot update the initial reply's embed twi...
Check if Webhook Exists 6 messages
atomic nacelle Hi, I have webhook ID and Token but want to check if that webhook exists or not, I tried to use fetch() but it didn't ...
I need to get a message id 3 messages
idle snow I have to get the id of a message with embed of which I have to get the message id at the moment, I used interaction.id ...
guild.voiceStates.cache force update? 31 messages
shadow furnace When trying to get all users in a voicechannel, they are still in the cache after leaving. Is it possible to get an accu...
Discord API error [50035] : invalid form body 40 messages
naive moon heres the code of slash command ```js // Slash const slashcommands = []; readdirSync("./src/commands/slash").forEach(as...
No presence 5 messages
inland geode Does anyone know what the presence of activity is for the Bot to appear without any? That is, there is playing, idle, d...
node
Error: Expected token to be set for this request, but none was present 64 messages
rugged moss I'm not sure why this is happening
node
Bug With difference() Method in Collections 8 messages
coral horizon Hi, if I am understanding the documentation correctly, there appears to be a bug with the [difference()](<https://discor...
node
Using a User Select Menu without it returning an error? 8 messages
honest quarry I have a file for this command "report" and a file in an events folder for the "interactionCreate" event. What is the b...
Modal not appearing after user is selected from UserSelectMenu 14 messages
honest quarry How would I get a module to be created after a member is selected from a user select menu? I think my main issue not be...
I wanted to know why I received this error 9 messages