djs-questions
13317 threads · Page 143 of 267
inner sorrel
I work on a discord bot for a large community through several discord server/guild. And i need to fetch an certain amoun...
jovial flower
I wanted to start exploring discord.js but after writing the first code I encountered a problem with the bot not respond...
tawdry laurel
Is there any way to cache all things like members and guilds in redis?
visual dune
Hello everyone! Code didn't fit in this post but you can see the code and problem in full detail on stackoverflow: https...
royal willow
I'm following the guide on discordjs.guide regarding adding buttons and having those buttons then perform the action for...
past obsidian
I want to edit this permissions for a role applied inside a Forum channel, I can't seem to find which roles are these, I...
eternal bough
how do I figure out what params to add to my execute: function in my event listeners?
pine pewter
I'm playing around with message components and want to use some buttons as booleans for some configurations (red = disab...
halcyon meteor
Does discord js check the rate limit?
For example, if I want to do this code:
```js
while(true) {
interaction.edit...
rigid stream
Does discord voice message will be available to discord bot ? Or you didn't have any news on it ?
edgy crane
'const { Client, GatewayIntentBits, Partials } = require('discord.js');
const client = new Client({ intents: [GatewayInt...
marble monolith
I am trying to get my bot to post a welcome message in a channel as soon as a user joins the server. However I am not su...
cinder wraith
Hi I'm following the guide in discordjs.guide and at this page https://discordjs.guide/creating-your-bot/slash-commands...
ionic oyster
When my bot is running on my local machine it works without any error but as soon as I try to deploy it on a vps eg. Dig...
crystal crag
I want to be able to calculate the character count of a message (Most helpful if it was caluculatable for individual emb...
little temple
Hello, I have this working so I don't need help in that sense but I was wondering if there was a better way to handle go...
versed karma
I have a command that does a check of permissions the bot has before it starts processing and I'm having trouble with it...
gloomy whale
Can I please get some help with this, I've been having this problem with my bot for some time now, almost 3 messages fro...
drowsy crest
What do people here use for facilitating automatic max memory restarts with a traditionally sharded bot?
vagrant ridge
Hi, I'm bumping into an error every time I try to change the buttons (components) in my message to be disabled.
`consol...
coral plume
Hello, I'm creating a forum that uses discord to store data, I managed to log into the discord server and got the id and...
mortal pendant
Hello, I noticed an issue with the drop-down menus. After a certain period of time (a few hours), I try to interact with...
primal walrus
As mentioned in the title, when I use interaction.options.getString() I get null.
Below is my code in index.js:
```js
cl...
ancient wedge
Hey, I’ve been hosting a discord bot on a vps for almost 6 months. The discord part as always Alright. Now I’ve decided ...
junior widget
```const { SlashCommandBuilder, EmbedBuilder, PermissionFlagsBits } = require('discord.js');
module.exports = {
userPerm...
rough oak
This is the error that pops up
```Error: getaddrinfo ENOTFOUND discord.com
at GetAddrInfoReqWrap.onlookup [as oncomp...
elfin rock
Hi team 🙂
I have a slash command with an action row of buttons, the command is like a personality test, it sends an emb...
dawn zephyr
Why this code stopped working?
```js
const guild = client.guilds.cache.get("944616601678917632");
const onlineCount ...
noble sail
hello ! I've a problem with 3 of my commands, that load properly but they are not shown in the discord integrations of t...
gentle timber
Hello, I am encountering issues with my file server bot. It has a message with an 8mb file attachment and a button under...
dapper swan
pls
edgy crane
Im a new developer and trying to learn some things but having a lot of trouble. I made a mod mail bot today to send the ...
vagrant ridge
I'm discovering discord.js library and specifically bot development to myself and I've been stuck with an idea I have no...
harsh oracle
Hey, i'm getting a errors but i dont know why and i dont know how to fix it plz help me
my code: https://sourceb.in/GS...
simple sierra
I'm trying to get a user knowing only the discord ID
wide fossil
What happened to the documentation? No events, no more than half of the classes
marsh palm
How do I begin making a bit that plays music nowadays? I've been out of the loop for a while and I've made a bot the las...
vital scarab
I have a problem. The server owner (I) uses the russian language, but for some reason I get "en-US"
```js
co...
mellow frigate
Does Discord have issues? Until a few hours ago my bot worked completely fine and have been for several months, but now ...
gusty thistle
Why does the following sometimes work when the client / code starts / runs and other times doesn't?
`client.application....
turbid meadow
i get a weird error and idk what it is
timid briar
is there any way to stop your bot without stopping your program?
i've tried client.destroy() but it throws an error "Exp...
stiff rivet
Hello All. So I previously had a standalone discord success bot that did all the listening and controlled all the succes...
quartz axle
i did my embed bot and everything but when i try using it this pops up
fathom wraith
Checking presence activities for Invictus
isStreamingBadHabitsRP: false
Checking presence activities for Invictus
isStre...
grizzled tinsel
greetings 👋
I have the problem in my discord-bot that the commands are disappearing after 2-3 days, the server-owner ...