djs-questions

13317 threads · Page 173 of 267

awaitreactions on message 14.3.0 7 messages
wise plover ```message.awaitReactions({ filter, maxEmojis: 4, maxUsers: 4, time: time1 * 1000 }) ``` why can i react 4 time with the...
get emoji with his id in 14.3.0 17 messages
wise plover `message.guild.emojis.cache.get(emojiA)` Can i do more easily than that ? I tried `client.emojis.resolve(emojiA)` and `c...
i.update() not working at collector.on('end') 23 messages
sleek shuttle No error output at the console. It was working well a day ago but not now : (
How does discord.js handle rate limiting? 5 messages
sharp sigil I'm building a bot that allows users to subscribe to reminders for certain in-game events that are on timers (roughly 30...
inviteCreate and inviteDelete events not fireing 2 messages
calm sun I do have all intents enabled, but I just don't get the event.
How do I get a copy of the Components used in a Message 16 messages
flint sequoia My goal is to disable a button after clicking on it. That is why I got an ButtonInteraction to work with. My idea was to...
My prefix is > how can I stop it from triggering when people do quote blocks? 25 messages
junior flint So I have a bot that's in one server, available prefixes are pretty limited and I've gone with `>` However every once in...
Error 32 messages
sharp patio Has anyone gotten this before? ```throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, metho...
checking if the user has a role 6 messages
silver sky Hello, I am trying to do a command in which it checks if the user has a role to do so i used ` if (userid.roles.has(*r...
Migrating message types 14 messages
shell bluff is "USER_PREMIUM_GUILD_SUBSCRIPTION" now `MessageType.GuildBoost`? what is "PINS_ADD"? assuming "CHANNEL_PINNED_MESSAGE...
Getting all messages from a Discord server 5 messages
supple pier I have a code that gets a collection of all messages from a specific discord channel. How do I fetch all channels of a s...
How do you add fields to an embed after it has been declared? 8 messages
hoary obsidian I'm trying to add items from an array to an embed as fields, but it seems like I can't add fields to it after it has bee...
How to display the total number of roles a user has? 11 messages
fervent hollow I am trying to *count* how many roles a certain user has within the server. I know how to *find and list* all the server...
Type issue when using SlashCommandBuilder options 9 messages
soft quartz Hello, I'm having issues when trying to add options to my commands using the SlashCommandBuilder. For some reason I get ...
Function.prototype.apply was called on undefined, which is a undefined and not a function 14 messages
floral plaza Im trying to create a guildMemberAdd event but i got these error when i try to ```javascript client.on(event.name, (...a...
How does role-add rate dynamic rate-limiter work? 2 messages
cloud torrent I want to add roles to numerous users (one role add and one role remove per user) (potentially 1000's). I know this will...
Is it possible to reply to an interaction given only an id and token 2 messages
wanton briar I have a socket providing incremental updates to my bot in a relatively short time span (<2 minutes) with the interactio...
Something fishy with await interaction.reply.. 151 messages
slow stirrup I currently have a bot on a cloud server and I am facing a strange issue that is completly stumping me. The bot will run...
DiscordAPIError[40005] Request entity too large 17 messages
tulip knoll I get: DiscordAPIError[40005] Request entity too large when I try to upload a file of size 7MB. How can I fix this?
clean exit - waiting for changes before restart 8 messages
drowsy crescent When I strart my bot with nodemon main.js, i get this message
Problem with a command. 3 messages
Members with certain role have access to prefix cmds 6 messages
MESSAGE ROLE 2 messages
oblique dune How to make this list role?
Get embed data from discohook link 5 messages
oak ether Hello there ~ ! <a:PaimonWave:755788648661647401> I'm trying to implement a command that permits to easily send embeds...
checking if the channel is a thread 8 messages
silver sky So I am trying to check if the channel where my command was executed is a thread and I don’t really understand how to us...
addingremoving somebody to a thread 3 messages
Can a bot use MessageComponents on another bot's message? 3 messages
deep light Can I have my bot interface with another bot by pressing buttons or otherwise manipulating MessageComponents as if it we...
command.data.toJSON is not a function 4 messages
.editReply() not working with no error. 12 messages
sleek shuttle editReply() deleteReply() are not working with no errors in the console. Is it an API issue or some kind of ban? Btw the...
Alternative of chartjs-node-canvas for DiscordJS 3 messages
pure hatch To be able to send a ChartJS graph on DiscordJS, I have to use this package `chartjs-node-canvas`, but it is not maintai...
Cannot get invites 43 messages
calm sun I am using the `await guild.invites.fetch();` method and I get a API error saying I don't have permissions to get invite...
autocomplete add on v13 3 messages
robust geyser hi, my djs is v13 and my slashcommand modules looks like this ```js module.exports = { name: "Test", description: "...
Interaction already been acknowledged 2 messages
gleaming schooner Code: ```client.on("interactionCreate", async interaction => { const split = interaction.customId.split("_"); c...
disable/add button for specific user 9 messages
wintry temple hi, is it possible to disable a button for a user once theyve clicked it? and that point also add another button?
How can I show subcommands in my help command? 3 messages
m.edit is not a function 6 messages
real wing Hello everyone ! <a:peepoHey:787521428038877224> On my bot, I'm trying to implement a command to move a message from on...
Update interaction as well as reply to it 19 messages
latent owl How can I reply to interaction as well as update it?
Buttons in messages 3 messages
latent owl Can I send button in messages? Not an interaction
Finding if have speaking send message privileges in the desired channel. 23 messages
vestal igloo With a `ChatInputCommandInteraction`, is there a way that I can use that object to determine if the bot has the permissi...
Limit for String Options on Slash Commands? 3 messages
How do I create a category, channels inside the category, and give the command author full perms? 5 messages
Disabling components while modal is in use 3 messages
still sparrow Hi, I am trying to disable a whole row of buttons when a modal button is clicked but I am not sure
Interaction has already been acknowledged. on two different event 7 messages
green juniper So let me explain, i'm currently supporting two event for differents reason (Message, Interaction). When i do @mention ...
Not authorized? 4 messages
earnest stump ```js > [email protected] test > node . Command: create2 has been passed through the handler. Command: embed has b...
Creating application using modal. 3 messages
potent garnet I'm trying to create an 'application' to a group. I've learned how to create a modal. Can someone point me in the direc...
Get Voice channel 8 messages
warped aspen Hi, How can I get the voice channel the user is currently on when the user sends a text message?
Error while reading a directory [CANVAS] 3 messages
regal atlas I have a image on a folder of the command and I want to use it on a card, but when it read it the card doesn't have back...
How would I get the member of this event? 7 messages
dusky flume ```cpp const { Events, EmbedBuilder } = require('discord.js') const { joinChannel } = require('../util') module.exports...
Attach File 17 messages
sharp patio How can I create and attach a text (txt) file and attach it to my the message? I have a Discord bot and I am using JavaS...
how can i pass any data to the interaction button? 23 messages
opaque oak I have data that I need to use during the execution of the interaction button, but the handling of the button is in anot...