djs-questions

13317 threads · Page 118 of 267

unknown interaction 26 messages
ashen summit https://srcb.in/YJH6fadJ2G Seem to not like my code
Post video link with hidden URL (preferably without downloading the video) 10 messages
fair mural Is there a way to hide the URL while posting a video because the URL is a *bit* too long
messages 22 messages
grim tide getting messages of a discord channel? ```channel.messages.fetch().then(messages => { console.log(messages)...
how do I access the forum channel a thread was created in 2 messages
north juniper how do I access the forum channel a thread was created in
Shards Error 5 messages
jovial moon The Console Is loading Two Times And When i Used Some Command Like "$ping" Bot Is Replying Two Times And My Console Ge...
Getting Gateway Ratelimited. 208 messages
mighty birch My shards are getting interrupted a lot, in last 12 hours I got 291 reconnecting logs and more than double in last 24 ho...
CombinedError upon embed creation 10 messages
deft anchor Error: ```js CombinedError (3) Received one or more errors 1 ExpectedValidationError > s.literal(V) | Expected...
Not getting presence events for server owner 17 messages
formal cosmos I'm listening for all Events.PresenceUpdate events and seeing them come through for all members of my Discord, other tha...
No handler was found for this command 32 messages
austere dagger im using discord.js to handle the command but python to send the reply message lmao, sooo whats the fastest method (like...
Is it possible to make an event to check if a file is created/edited/renamed/saved 2 messages
strong skiff Is it possible to make an event to check if a file is created/edited/renamed/saved
embedbuilder is not working ... 10 messages
paper halo ```js try { // interaction.guild.members.ban(member, {reason: reason}); const EMBED = new EmbedBuilder() .se...
@discordjs package
Discord.js bot on server dont start 4 messages
supple pumice I have a server for my discord bots, to host my bots i use the package pm2. When I hosted the first bot everything work...
@discordjs package
Multiselect dropdown list collector doesn't trigger 11 messages
mint dagger Good evening I have a first Dropdown list with 2 choices (maxValues = 1), then according to the choices it displays anot...
Having troubles editing ephemeral response 23 messages
lucid girder I'm writing a bot that asks the user for data through a modal, when the user submits the modal the bot validates the dat...
Demote Command doesn't work. 36 messages
smoky stag So I have a demote slash command and when someone runs the command I want to check if they actually have the role to run...
Replaying missed events after shutdown 20 messages
fierce orbit Does d.js expose any way to replay events missed due to a temporary shutdown? The TLDR is that our host will perform au...
so i have a doubt my system is giving "interaction failed" 17 messages
nimble wolf so i have a doubt my system is giving "interaction failed" i want to remove this error when i edit a reply
command interaction with another command 6 messages
onyx niche my /report command is interacting when i use my /help command, i've somewhat fixed it but now i get an "DiscordAPIError[...
Permission for disableCommunicationUntil 3 messages
meager dagger What is the permission required for the but to use <GuildMember>.disableCommunicationUntil
embed message setcolor is not working 3 messages
paper halo ```js function embedMessage(desc) { return new EmbedBuilder() .setDescription(`**${desc}**`) .setColor("BLUE"...
@discordjs package
messageUpdate Event 4 messages
kind crystal Hello, I'm trying to do a logging system for my bot and I ran into a problem when it cames to message updates. `oldMes...
ContextMenuCommand same name as a SlashCommand 12 messages
worthy spruce If I create a SlashCommand called test and a ContextMenuCommand called test too, it will crash/not work fine or it's ok?...
How to get Member Object with message 27 messages
signal hinge Im trying to get a member of the author's message but i cant find the way. What i want to do is check if member has a ro...
ModalBuilder() is not working ! 4 messages
paper halo ```js else if (interaction.commandName === "userregister") { console.log('hello world register !'); ...
blacklist system not working 24 messages
wet pier ```js const { model, Schema } = require('mongoose'); let blacklist = new Schema({ User: String }); module.export...
Modal Error 5 messages
fringe rampart ```js const { SlashCommandBuilder, ActionRowBuilder, Events, ModalBuilder, TextInputBuilder, TextInputStyle } = require(...
Creating a bot that automatically posts new emails from a gmail account 4 messages
wise prairie Would you recommend using discord.js alongside the gmail API to get a bot that would post all new emails from a gmail in...
weird error 5 messages
solid moth just wanted to start my bot and this happened - it doesnt seem like a problem with my code bc it worked before on anothe...
TypeError: require(...).config is not a function 8 messages
shadow atlas this error comes up when I do npm run test. I searched all over my files and codes and I don't get why I am getting this...
How to start 7 messages
smoky cave Hello I want to start learning djs library and I don't know where to start
Issues with button builder 8 messages
icy pine I'm having this issue with Button Builder. Im awful at coding and cant seem to figure it out. Let me know if you can hel...
How can I check user roles 7 messages
smoky stag So I have a slash command where the member has to mention a user in the command option, how can I get the roles from the...
Create Users Dms 35 messages
smoky stag When I am trying to send a message to a user via bot it says object Object
Why is interaction.member possibly null? 12 messages
lucid girder TypeScript claims that `ModalSubmitInteraction.member` is of type `BaseInteraction<CacheType>.member: GuildMember | APII...
TypeScript client.cooldowns 5 messages
worthy spruce Hihi. I have a bot in JavaScript working perfectly fine but I decide to change it to TypeScript(im totally new in ts but...
Slash Command Interactions Doesn't Work 17 messages
smoky stag Hello, So I am creating a new bot and for one reason the doesn't respond to the slash commands at all, the slash comman...
How can I change this About Me by code I've seen some systems that change automatically just by code 26 messages
Anyone can help me? 6 messages
rose fern ``` const embed = new Discord.EmbedBuilder() .setColor(config.MainColor) .setDescription(...
Which things are always cached with the Guilds intent? 7 messages
fiery birch I wanna have a list of things that are always cached with Guilds intent so I know when to get from cache and when to fet...
getting new display name 12 messages
unborn leaf hello, with "user.displayName" i am catching the new name system name, means for me "drogensohn". "user.nickname" is jus...
Button 18 messages
dawn hatch How can I reuse the same button of my discord bot multiple times? because after the first time that I pressed the button...
Deselection in Select Menu 2 messages
warm quest is there a way to automatically deselect the option immediately in the select menu once an option is clicked?
oldMember and newMember timeout issue 4 messages
visual widget ```js const oldTimeout = oldMember.communicationDisabledUntilTimestamp const newTimeout = newMember.communicationDisable...
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...
RPC
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...