djs-questions

13317 threads · Page 98 of 267

Error running a select menu inside a modal (not sure if that's really the issue) 4 messages
sand ravine I have this action row with a text box and a select menu which i put inside a modal that is activated with a button: ```...
@discordjs package
Says that interaction.isChatInputCommand is not a function 12 messages
onyx wasp so this is my code ```ts import DiscordClient from "../utils/client.ts"; import Event from "../utils/structures/Event.ts...
deno
Mongo DB creating more than 1 collection when not being called. 3 messages
hard lintel I made a command verify and all I call is users if there is no member data then it creates a new member data under the U...
Bot presence not updating 17 messages
brave pewter code: ```js client.user?.setPresence({ status, activities: [ { ...
webhooks again 19 messages
hybrid sonnet Hello dear fellow helpers... i would like to ask another question related to it ## Context A while back I learnt about ...
Ban command 17 messages
uneven wasp I seem to be having this issue when trying to ban someone outside the server I have been trying to find a way to ban out...
Automod System 5 messages
torpid holly So yesterday I had a problem with my automod system, which I fixed, however I want to make it so if the user has 6 auto ...
Badges 7 messages
uneven wasp So I am having this issue with badges, I want my badges to go by row but it seems the badges keep colliding together,
fetch replys to a message 2 messages
scarlet sinew is this possible. want to make a message action thing where u open the apps section of a message and then u can get all ...
docs not working 12 messages
abstract violet Hi, when I go onto the docs I just see this
@discordjs package
js 17 messages
Slash command and message command handler complained 11 messages
nocturne dragon Hello, My brain is empty and I want to make a Slash command along with normal message handler with the point of the hand...
bun
Incorrect typings for `.toString()` in partials? 32 messages
signal coral Alright, I'm not sure whether or not I've found an issue, so correct me if I'm wrong. - `<GuildMember>.toString()` is ...
node
Cannot read properties of undefined "options" 8 messages
ashen topaz ```/home/container/events/join.js:13 const role = member.interaction.options.getRole('905893175774822441'); ...
Adding emotes to a select menu not working 27 messages
fleet narwhal Hello! I've got a weird issue where I get a `DiscordAPIError[50035] - DiscordAPIError[50035]: Invalid Form Body` when I...
node
is all working correctly, but when I interact with the "exit" button and the dropdaw menu the error 19 messages
spring horizon is all working correctly, but when I interact with the "exit" button and the dropdaw menu the error is "This interaction...
How to delete all autoModerationRules rules in specific guild? 11 messages
rigid knot How to delete all autoModerationRules rules in specific guild?
What is this "Text Input"? 4 messages
quiet compass So I was looking at the ComponentType for message components and when looking at the Discord docs (which there was a lin...
The bot does not detect the contents of the messages 4 messages
shell grove ```jsclient.on(Events.MessageCreate, async message => { if (message.author.bot) return; console.log('Conteni...
get list forums 3 messages
gray bear hello, I have a question if you can get the list of forums and their posts created from a discord server.
node
Don't DM a user with disabled DMs? 5 messages
trail palm Is it possible for the bot to first check if a user has completely disabled DMs. And if so do not send a DM.
Bot is stuck in request 11 messages
stark lynx ```js async function editMessage(data, channelId, messageId) { if (typeof messageId !== 'string' && typeof messageId...
@discordjs package
How to make sure that a channels.create call followed by a channels.fetch call is consistent? 4 messages
delicate bay Right now I have some code that creates a category and then adds some channels to it. What I've noticed is that there is...
node @discordjs package
js 11 messages
ancient spruce With this code I can't see the options when I type /
Escape Character causing issue in fetching user info 6 messages
edgy fox I'm trying to fetch member info using the globalName of users but if a globalName contains a escape character it fails t...
'messageCreate' not firing for DMs 14 messages
south loom Hey there, I'm currently having an issue where when trying to receive direct messages, the bot won't fire a messageCreat...
how can i log discord move and disconnect when a user move another user or he disconnected user 10 messages
sullen spruce how can i get the move or disconnected user and the executor i can reach to do this please can someone help with it ?
node
Intellisense With DJS 3 messages
Issue understanding collector filters 29 messages
mental fossil Hi all, I was recently working on learning and integrating collector filters for my code so that if a user who didnt sta...
member is of type 'unknown' 6 messages
pliant swift I'm building a command in typescript, and have the following: ```ts const members = await interaction.guild.members.fetc...
expiring warn 9 messages
fossil trail Hi, im new into discord bots/js and i want to do a warn command, but with expiring date. is it possible? if yes, how?
Webhooks 36 messages
hybrid sonnet I want to ask what are webhooks...? what is their purpose with djs and outside...? what can webhooks do and their limita...
SlashCommandBuilder error 16 messages
grand ledge Im trying to make a command that would dm a specified user a embed. I am aware that there have been questions like this,...
.env 11 messages
ancient spruce Why isn't my token working in the .env file?
IsJsonEncodable is not a function 3 messages
grand ledge Im pretty new in the discord bot community, so my error might be pretty stupid. So basically I am making a botstats comm...
My Bot won't post a .gif file from it's Assets folder 5 messages
summer hinge It's been a *long* time since I worked on a bot last and I've been revisiting my old bot that runs my server. I've updat...
dev release
[SOLVED] Give Role on Button Interaction 45 messages
young breach There we go
Audit log event 12 get guild 3 messages
balmy iris I have the d.js release "main", i do not know which version it is, but i think it is v14, https://replit.com/@OttiOtta/H...
Get All Users with a Role then If it doesnt match a certain custom status ex. .gg/, it removes it 5 messages
young ore title ^
channel.isTextBased is not a function? 8 messages
tidal wadi hey! i'm trying to make a channel every time the user clicks a button. the code used to work but isn't anymore and i'm n...
add role 16 messages
dusky tusk hi so ive been trying a lot to make this work but it just wont ```js if (command === "addrole") { if (!message.memb...
I got a question 5 messages
vital heath https://sourceb.in/7bO9vBAXIK
cannot recieve direct messages 29 messages
balmy shell i have partials (which apparently has been the solution for literally everyone else on this planet) code: ```js const c...
Trying to get the ban command to work 2 messages
uneven wasp I have been having issues with my ban command for some time I need it so I can ban their ID and also mention them within...
How to detect whether my bot has permission to JOIN and SPEAK in some voice channels 10 messages
small tide just it
detect kick 2 messages
digital nova Is there an easy way I can detect when a guild member is kicked?
why I got interaction failed on start and cancel button 7 messages
vital heath <https://sourceb.in/9ssw26myBW>
Automod System 12 messages
torpid holly so yesterday I was making an automod system and I realized this: If a user reaches 3 auto warnings, gets auto timeouted...
discord.js message in a function 13 messages
empty lichen how can i make a function that i can xall at any time and it will alow me to send a certain message
Help fr 14 messages
tulip owl Error fetching leaderboard: CombinedError (3) Received one or more errors 1 ExpectedValidationError > s.literal(V) ...