djs-questions

9202 threads · Page 117 of 185

Ban specific users from using my bot? 5 messages
raven oriole Is there a way to ban specific users from using my bot? I don't want to ban them from the server, just if they were abus...
fetching command choices 85 messages
torpid hazel hihi! i have a bit of a complicated command https://gist.github.com/ash-development/51b240f1db0e10b37994b6024263dc52 i ...
Weird colorfull error while constructing embeds (djs14) 7 messages
sick leaf I'm trying to build some embeds from json data, but some verifications error about empty strings appear, here is the dat...
Help with command! 9 messages
blissful ferry Hello good afternoon, I ask you as a favor if you can help me since I have been trying to make a command for more than 1...
AutoMod 6 messages
smoky cave Does DJS support automod and how does DJS work?
body: { error: 'invalid_client' } 16 messages
summer mantle const e = new Error(r.status); ^ Error: 401 at D:\RPC\node_modules\discord-rpc\src\client.js:64...
1003448629866020986
Best and easiest way to store data for a bot/host one 2 messages
pliant cape So I'm making a really simple bot for my own personal server and I want to store some data that can be recalled later. W...
Question about context menus 4 messages
lusty lava Here about context menu commands, Is it possible to only make them visible to users who have a certain role etc. If so ...
Cannot read properties of null on guild.commands.create 13 messages
fierce fjord sup, see my code: ```js (this.client.guilds.fetch(process.env.GUILD_TEST)).then(g => { g.commands.create(command.data)...
Not recieving heartbeats, killed after ~50 seconds, zombie connection, do recieve guildCreate event 72 messages
lyric condor Hey, I'm having a really annoying issue. I have a ubuntu server on a digitalocean droplet where I try to host a djs 14 ...
Attachment content type support 18 messages
wispy blaze Hello. Not sure if this is correct place to ask this question. I need a list of what content types are supported for ...
RCON Response 26 messages
terse star I have a working chunk of code for RCON, but I can only get it to console log the command and the information. I have be...
how can i search for a member using an id? 19 messages
dire ermine i did this but not working v14.7.1
ReferenceError: interaction is not defined 58 messages
shadow atlas DiscordAPIError: Invalid Form Body error when i load my slash commands into my discord bot
CombinedPropertyError? when trying to use a function that uses JSDOM to return a string for embed 27 messages
static vault Hello! I have a problem so my code is giving me multiple `CombinedPropertyError` idk whats that but I used some async f...
Autocomplete Error! 2 messages
jovial moon CommandHandler```module.exports = class Command { constructor(client, meta = {}) { this.client = client; ...
how to get user’s displayName 5 messages
glass kindle I am trying to display the server members displayName not usernmae but it returns with a username even tho i use member....
a general question about autocomplete 5 messages
north juniper how would I show an array in autocomplete? I want foo and bar to be the 2 options that will show upon respond, the quest...
I have a simple doubt 3 messages
nimble wolf it is possible to edit only the button that i reacted in a message i wanted to deactivate it only when i reacted it
Fetch an array of message IDs at once 13 messages
mild drift Is there some sort of way to fetch multiple messages by `id` in a single request? Kind of like `message.channel.messages...
Unknown Message 16 messages
heavy coyote ```js const message = await interaction.fetchReply(); const collector = message.createMessageComponentCo...
Embedded errors 7 messages
weak glade Hi! I'm having a problem with my robot! I don't know why, but the robot crashes when a member fails to join the trigger ...
Unexpected string in JSON 33 messages
queen badger I'm trying to create discord bot that can show an output by slash command but the code couldn't run. App used: Replit. H...
How to make a bot execute a file 1 messages
terse star I am trying to make my Discord Bot run a file from a slash command. How would I go about doing this?
ChannelNotCached 39 messages
coarse rapids Error [ChannelNotCached]: Could not find the channel where this message came from in the cache! **how to fix this error...
Activity Filtering 13 messages
dawn mica If I wanted to filters those discord activities, like the games you can play, would I need to filter via activity type o...
How to Respond to the interaction without displaying anything 7 messages
craggy saddle I have created a function to edit the message according to the StringSelectMenu selection. However, the message "This in...
Creating an Update Handler 9 messages
waxen zenith Would it be plausable to create a handler thats job would be to catch any updates such as updating/deleting messages or ...
How do I limit the number of roles that guild.roles.cache shows (It crashes bot) 55 messages
Reliably Fetching Roles from Member in Guild 2 messages
drowsy crest How can I reliably fetch a member from a guild (without guild members intent) and ensure that the role information is al...
Preventing some guilds from being cached 27 messages
muted beacon I want to customize my cache to prevent my Bot from caching the GuildMembers of any guild which isn't set up in my datab...
"BitFieldInvalid" error 13 messages
shadow atlas I keep getting the "BitFieldInvalid" error. It says throw new DiscordjsRangeError(ErrorCodes.BitFieldInvalid, bit); ...
986538542350086175
command handler not registering commands 50 messages
ashen summit . I'll upload sourcebins one moment
Owner Commands 7 messages
last lantern hey , how is everyone doin , i dont have a code with issue atm since idk if what i wanna is even possible. i got some c...
Ports that discordjs is using? 11 messages
orchid zodiac For now for my bot to work i enabled all ports in egress rules, but I need to know which port(or port range) is discord ...
Kicking a user 131 messages
ashen topaz ```JavaScript if(button === 'kick') { const member = interaction.options.getMember(''); member.kick(); } ```
Hello, how to make a modal in djs v13 please 6 messages
pine pike Hello, how to make a modal in djs v13 please
Creating a join/leave message 126 messages
ashen topaz How would I create one? I'm trying to use guildMemberAdd
More Builders in Modals 11 messages
tepid locust Hey guys, when do you think `StringSelectMenuBuilder` and `ButtonBuilder` will be usable in Modals? I don't know if it i...
998292157150535700
Change user nickname 20 messages
hexed escarp Good morning. I want to change the nickname of the user whose user id is entered in the command option, except I did som...
Linking guild to a specific member based on dm with bot 21 messages
cinder chasm I have a bot that's supposed to verify people. Is it possible for the verification to happen under dms? I figure I can't...
998292157150535700
Command that runs every millisecond - Discord.js V13 16 messages
sweet owl How would I make a command that runs every millisecond to check my database for a timestamp that matches the Date.now() ...
How to display "TRY MY COMMANDS" 5 messages
fierce willow Title
getTime is undefined 17 messages
tight prawn ```js .setDescription(`**Username:** <@${user}> (${user_id})\n**Action:** User Joined\n**Joined At:** <t...
998292157150535700
I can't make the new mute 7 messages
pine pike I can't make the new mute. Who can explain to me please ?
how can i make button Bot Discord 4 messages
severe cliff how can i make button Bot Discord In V13
998292157150535700
Fetch every thread ever in a forum channel 2 messages
safe egret Is this possible? I'm trying to fetch a count of posts in a forum channel.
Bot cannot edit its own messages 14 messages
fading mason With my bot I am trying to make it so that when you press a button it becomes disabled. This fails so I simplified it to...
.setName is not a function 4 messages
rancid flume Hello, I cannot understand why it tells me that ".setName" is not a function. Here is my code: ```js const {EmbedBuild...
New Question 10 messages
rancid wasp How Do i make a warn commands so like /warn