djs-questions

9202 threads · Page 176 of 185

problem displaying avatar per server 9 messages
topaz kraken Hi guys, Im trying to make an Avatar command that Displays both avatar per server, this means 1- default avatar 2-Serve...
Why does this be not working? 7 messages
quaint loom `guild` is being defined from the screenshot I'm about to upload.
Error 15 messages
whole cave Error: ```js orderCommand = new SlashCommandBuilder()         ^^^^^^^^^^^^ SyntaxError: Unexpected identifier     at Ob...
How does one temporarily disable a Button? 2 messages
quaint loom So I have a command that pretty much lets the user press a button, it then does something. However, I don't want them to...
Export error 6 messages
whole cave I got this error when trying to export a command named `order` from file `order.js`. ```js export default orderCommand...
How to have inline buttons 5 messages
upbeat gale I'd like to have the buttons in a row, not in a column. How can I do that?
How do I fix ExpectedValidationError Expected error 10 messages
torn badge ERROR: ```ExpectedValidationError: Expected at InstanceValidator.handle (D:\ch-bot\node_modules\@sapphire\shapeshift...
STT 12 messages
summer mantle How can I make Speech to Text?
How to make it an infinite amount 3 messages
vapid anchor ```javascript data: new SlashCommandBuilder() .setName('lockdown') .setDescription('This command locks a...
How do I create a new Forum thread? 4 messages
meager hearth title says it
client.on() blocks after 2 commands and waits instead of running them all 28 messages
tulip knoll Discord.js client.on(Events.InteractionCreate) blocks after 2 commands instead of calling them all even thought they're ...
Unhandled promise rejection Error Cannot find module 'discord.jssrcutilSnowflakeUtil' 14 messages
eternal scarab `Unhandled promise rejection: Error: Cannot find module 'discord.js/src/util/SnowflakeUtil' Require stack: - /home/conta...
Discord js rest and routes 5 messages
severe pecan Hello, I'm trying to create a user channel using the discord js rest and discord-api-types v10. In the documentation, a ...
Error when trying to runn 6 messages
whole cave ```js const dotenv = require('dotenv'); const { Client, GatewayIntentBits, Routes } = require('discord.js'); const { RES...
Issue with sharding after 4 shards 1 messages
mellow frigate ```js const array = await client.shard.broadcastEval(async (c, { userId, apprentice, adept, expert, master, legendary, p...
How can I switch all of my code to v14, is there a way to do it automatically? 9 messages
rugged jackal I wan tot turn my code into v14, right not it is all written in v13
Invalid Form Body embeds[0].image.url[URL_TYPE_INVALID_URL] Not a well formed URL? 36 messages
unreal jasper So i'm trying to request a custom image from a website and the res says that it is 200 (OK) but even then I'm getting th...
Why does interaction.reply not mention a role but message.reply can? 3 messages
slow stirrup I want to be able to ping a role with interaction.reply and it does not seem to work but message.reply can ping a role. ...
Am I able to get an Info, if my discord-js bot is in spam protection? 64 messages
lean elbow Hey guys, for example if I try to rename 20 channels, the bot got an spam protection by discord. Can I say to the user, ...
Cannot send empty message error (embed) 5 messages
orchid raven Hello, I have this bot: https://github.com/SinisterDeveloper/discord-moderation-bot And I'm getting this error: https://...
private 9 messages
knotty zephyr Why `channel.setParent` may produce `DiscordAPIError[50013]: Missing Permissions` when the permissions are seemingly set...
Inline problem. 20 messages
fallen gulch I've been learning for the last almost 2 weeks and I have a basic understanding of what I'm doing but when it comes to t...
Is thhere a way to create paragraphs in an embed? 5 messages
rugged jackal I tried to create a list on my embed, like 1- 2- and etc, but I don't know ow to skip a line when I finish one line and ...
can someone help me with my code 3 messages
waxen tulip here
Importing Text 4 messages
livid hemlock I've been trying to import text into a file which the bot then responds with. I couldn't really find a solution anywhere...
Invalid Form Body 10 messages
opaque oak What's wrong?
There's Something with running 7 messages
junior widget how could it run it always log error
Linking slash commands on embeds 3 messages
somber sage hi, this is probably not a discordjs question, but i don't know where else to ask this: what is the syntax for hyperlin...
Caching Messages for MessageDelete event 15 messages
timid gale I am attempting to work with logging message deletes. i found the MessageDelete event and i found another post for an ea...
Is it possible to have two collectors on the same message? Are there any examples? 11 messages
muted beacon Essentially I have a prompt for a user to edit a setting and they can click the "Enter response" button and get a TextIn...
How can I make an application webhook (webhook type 3). 5 messages
pliant swift I'm trying to build a webhook that has buttons, which requires a webhook of type 3 (https://discord.com/developers/docs/...
Can't edit embed after 1 hour? 39 messages
slow stirrup Currently I have slash command that returns an embed and it has a countdown timer in the footer. The countdown time is p...
GuildMember has null voice property when bot starts after user joins voice channel 5 messages
clever thicket Is it expected that the member.voice property is null/undefined if the member joins the voice channel and then the bot s...
How do I set a status 16 messages
flat dew This isn't working.. Trying to set my bots activity..
Please help me to store a string and get it in another file. 3 messages
open chasm On a command I am doing I have one file for openstore (A command I have) and I will also have a closestore (Another comm...
Error when sending message 39 messages
narrow knoll ```js const channel = client.channels.cache.get('906674895239405678'); channel.send('content'); ``` Wanting to ...
Clearing Slash Commands Cache 3 messages
fallen ether I was developing on two different Discord.js bot code bases that both register Slash Commands but using the same Bot Tok...
986538542350086175
Unknown Component Error 3 messages
undone girder I've started getting this error in the last few days (I've made no code changes) and I need some help understanding what...
await message problem 10 messages
runic kiln i'm trying to delete the message after awaitMessage but the message is not deleting ```js await message.channel.awaitMes...
Can not upload attachments. 12 messages
brisk dust I get this error when sending (any) attachment to a channel. ``` TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument...
How to get input after a slash command 29 messages
spring bloom After a slash command: `/add <title>` I want to then have the next (up to) 10 messages from the user to be grabbed by th...
Embed message 3 messages
glacial plaza How to make embed message with interaction.reply slash command?
how to get user permissions(like send message, and admin) 3 messages
dawn quiver {}
Why when I start my bot I have this error? 26 messages
ornate delta Why when I start my bot I have this error (I tried with node 12.17.0, 14.7.1, 13.12.0 and still the same error..)?
Connection issues 3 messages
dry oyster Hi, I was having issues with my bot not replying to commands - it was saying "InteractionNotReplied" even though my code...
Using esm format 11 messages
autumn kestrel How do I use the esm format in in here ```js const commands = []; // Grab all the command files from the commands direct...
Are the character strings secure? 4 messages
marsh plaza Hello, Is it possible that in some cases, (such as a Say command), if we type ${interaction.client.user.tag} for example...
Will not interact with DMs 5 messages
supple talon I have a messageCreate event to respond to certain messages, and while the bot will "see" these messages in guilds, it w...
when will discord.js stop supporting bots that do not use slash-commands? 11 messages
wicked sphinx title^
Trying to do different response depending on slash command option input. 3 messages
open chasm I am trying to get my bot to do things if a certain response is given in the options in the slash commands. Would I do i...