djs-questions

9202 threads · Page 140 of 185

Possible to create thread or topic with final user not discord bot? 2 messages
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...
error interaction menu 6 messages
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...
interaction.options.getString() is not working 6 messages
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...
Audit Log Channel Update Event 1 messages
gusty thistle With the code below, when I update a channel's parent, `auditLog` is undefined. Why? ```js module.exports = { name: ...
bot going offline with no error 12 messages
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 ...
Why can't use async execute(interaction, client) 2 messages
junior widget ```const { SlashCommandBuilder, EmbedBuilder, PermissionFlagsBits } = require('discord.js'); module.exports = { userPerm...
Cant upload commands 5 messages
rough oak This is the error that pops up ```Error: getaddrinfo ENOTFOUND discord.com at GetAddrInfoReqWrap.onlookup [as oncomp...
Slash command and Unknown interaction 4 messages
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...
TypeError: Cannot read properties of undefined (reading 'status') 16 messages
dawn zephyr Why this code stopped working? ```js const guild = client.guilds.cache.get("944616601678917632"); const onlineCount ...
Problem with the loading of 3 commands 16 messages
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...
How to edit a message with file attachments? 8 messages
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...
help, event handler 43 messages
dapper swan pls
Custom ModMail bot not responding 132 messages
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 ...
Is there a way to get an author of different interaction? 8 messages
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...
Errors 16 messages
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...
guild.members.cache.get not working 23 messages
simple sierra I'm trying to get a user knowing only the discord ID
Documentation 9 messages
wide fossil What happened to the documentation? No events, no more than half of the classes
Information regarding making a music bots 14 messages
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...
guild.preferredLocale 6 messages
vital scarab I have a problem. The server owner (I) uses the russian language, but for some reason I get "en-US" ```js co...
Ready event randomly stopped working 15 messages
mellow frigate Does Discord have issues? Until a few hours ago my bot worked completely fine and have been for several months, but now ...
Client Question 3 messages
gusty thistle Why does the following sometimes work when the client / code starts / runs and other times doesn't? `client.application....
Guildmemberspeaking event 1 messages
rough oak This event used to be in v12 back in the day. Is there any replacement for this today?
Need help with an error idk what it is 10 messages
turbid meadow i get a weird error and idk what it is
How can i logout my client 3 messages
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...
Traditional Sharding w/PM2 1 messages
drowsy crest Does anyone have experience using PM2 to manage different shards? I'm curious to know if this is even possible or if any...
Anyone familiar with creating listeners? 13 messages
stiff rivet Hello All. So I previously had a standalone discord success bot that did all the listening and controlled all the succes...
i did my embed bot and everything but when i try using it this pops up 41 messages
quartz axle i did my embed bot and everything but when i try using it this pops up
Function unsure if I am handling this correctly 3 messages
fathom wraith Checking presence activities for Invictus isStreamingBadHabitsRP: false Checking presence activities for Invictus isStre...
commands are disappearing after 2-3 days after reinviting 24 messages
grizzled tinsel greetings 👋 I have the problem in my discord-bot that the commands are disappearing after 2-3 days, the server-owner ...
welcomer command error 8 messages
crude arrow no message is send upon join index: https://sourceb.in/RgXz1RhR8O welcomer.js: https://sourceb.in/3zLxAChKTz
Filter of collectors do not work 16 messages
marsh plaza Hi, I have a problem with filter of the collectors: When I apply a filter it does not take in charge. Here is an example...
What Event fired on Discord Bot join? 11 messages
ornate grove What event is fired when a Discord Bot is added to a Guild?
Interaction Collector Not Firing Collect 30 messages
obsidian scaffold I'm trying to implement some buttons on a command interaction, and I have successfully added the buttons, but when creat...
Error aftering updating to 14.9.0 11 messages
gleaming drift I like to use my own builders to help me develop using the discord.js framework. In my embed builder I have ```js toJ...
Avatar Command Error 6 messages
silent ether ```py const discord = require("discord.js"); module.exports = { data: new discord.SlashCommandBuilder() .setName(...
Resending image in embed doesn't work on production, but works on dev 13 messages
fickle spear Hello, I have an function, that will resend any picture from a channel to another but in embed Workflow is Channel A get...
DiscordAPIError[40005]: Request entity too large 7 messages
iron dirge Yesterday the max size of files for every user were increase to 25MB, but when I try to send a file with 16MB as a reply...
status 27 messages
delicate pilot I cant get my bot to display status in the console it says the status but in discord nothing actually it’s v19.9.0
Ping outside embed 13 messages
lofty gyro How do I ping a user outside the embed?
The bot doesn't process new user 10 messages
left mist The bot should first bring a newcomer into the 'verification' channel and start asking necessary questions to determine ...
Channel Bitfield List 3 messages
cedar moss Is there any chance at all that someone has a reference for every channel permissionOverwrite bitfield? I really don't f...
ApplicationCommandType.User needing a description? 145 messages
dense quiver So this code format has worked for my normal prefix commands, **`/`** commands, and message context menus; however when ...
DiscordBot Error 19 messages
rapid egret hello i build a bot for my server and i do system for suggestions but i get one error when i try the command who can hel...
Sending a video embed 9 messages
digital nova Is it possible to send a video embed as a bot?
Not a valid user // Not a valid user or role 5 messages
hybrid hedge So I've already gotten some help on this in djs-help-v14. However the problem still remains. I've had this problem for a...
organizing commands 9 messages
blissful bluff i have a folder utils and have a bunch of utility commands in there, if i wanted them to be under /utilities on the bot ...
Context menu trigger either creates or edits a message 4 messages
thorny skiff I have a message context menu command that's working for the first if statement where it checks the database and creates...
Command Clear Message 1 messages
vague elbow I have this problem here and I am not able to identify it correctly to correct it ```node:events:491 throw er; //...
How to timeout 35 messages
strong skiff How to timeout/?
How to mute 7 messages
strong skiff How to mute