djs-questions

9202 threads · Page 173 of 185

Can check if the invite from the same server? 4 messages
glacial valley if someone send msg and the message has link for invite server i can check the link if from the same server id like if n...
Strong typing between ApplicationCommandType and CommandInteraction? 18 messages
eager raptor I currently have the following code: ```ts export abstract class BaseCommand<T extends CommandInteraction> { abstrac...
Error 50035 components[BASE_TYPE_REQUIRED] 12 messages
tired scroll error is shown below
How can I get the precise time at which a request is sent? 14 messages
stoic silo I'm looking to debug an issue and, for that, I need to know the exact time at which discord.js sends the request to Disc...
How to make a SlashCommand Handler with ES6? 40 messages
dark shell Im having trouble creating a way to register and make a command_handler like in discordjs.guide I've had sucess with th...
Slash command builder built command type 4 messages
hexed solar What is the type for a built command with the slash command builder in typescript?
Custom Commands 5 messages
viscid stump I am new to coding and I am trying to get custom commands for my bot
Stuck on event handling tutorial 9 messages
feral sandal Hi! I keep getting this error when I run any command, like /ping: ````TypeError: Cannot read properties of undefined (re...
Wrong error code 37 messages
vale oxide So lately I have this issue that the interactionCreate event is fired really late sometimes, like 5-10 seconds after the...
Lost Bot Member due to Cache Options? 6 messages
rugged ginkgo Bit of a biggie, I had an error: `TypeError: Cannot read properties of null (reading 'bitfield')` In this code: ```js c...
The application did not respond 3 messages
gaunt silo Hi, i'm trying to create a music bot, the first thing I did was to try and create a /ping command to test it, when I com...
create channel 2 messages
sonic iris Hi im hosting discord bot on A server. And i need to call discord bot function that i wrote on A server, from B server H...
App command (right clic) icon, a way to change it? 5 messages
craggy lodge Hi, there's some way to change the right-clic app commands related to help distinguish them better? Thanks
User Badges 4 messages
drifting sky Hi! In the version has the badge "Active Developer" and "Supported SlashCommands"? (Ping me for Reply) Kurama.
Check if the bot reacted before the interaction message using a specific emoji 6 messages
craggy lodge Hi, I'm trying to get true if the bot replied before to the same "interacted" message with the icon 😄. So: - if other ...
How to remove an embed from a message using `message.edit()` 7 messages
carmine karma The bot previously posted a message that only contained an embed. However, after editing the message using `ButtonIntera...
Type errors with ActionRowBuilder on Interaction Reply 3 messages
crystal island Hi, I'm trying to get an action row with buttons going for a bot I'm building, using d.js 14.7.1 and TS 4.9.4, and I'm f...
What is the difference between guildMemberAdd and guildMemberAvailable? 5 messages
glass apex Just like the title says, what is the difference between `guildMemberAdd` and `guildMemberAvailable`? I know `guildMembe...
I have big project help me 19 messages
runic ravine I will be able to create a bot. managed by all groups How can I choose a rank to manage rights, such as viewing the mess...
need some help with text formating and variables 42 messages
eternal scarab .setDescription(`**Η Υπηρεσία του ${client.users.cache.get(interaction.user.id)} μόλις τελείωσε** Η υπηρεσία διήρκεσε: $...
placeholders in v14 44 messages
sudden urchin So background, ive made my welcome-message system multi-guilded with mongodb and i want my users to be able to use thing...
How can I list my bot commands with their localized names? 12 messages
velvet goblet I'm localizing all my bot commands, and i've been trying to do the same with my help command too, however, I cannot get ...
Bot Token found Publically 19 messages
winter zephyr Hi! I just finished my bot today and deployed it to a public GitHub repository. I put all sensitive information in a fi...
awaitModalSubmit defer is not handled properly? 10 messages
maiden flower So I've shown a modal and `deferReply`'d it inside the filter, after trying to `.editReply` DJS says `Error [Interaction...
Problem MessageEmbed 5 messages
upbeat sigil Hello, I am contacting you because I want to create a discord bot in discord.js but I am encountering a problem for whic...
How is it possible to get a user's role in V14 2 messages
prisma harness How is it possible to get a user's role in V14, as I use: interaction.member.roles.has
Property 'send' does not exist on type 'Channel'. 10 messages
ocean patio I'm trying to send massage in a specific channel, is this even the right way to dot it? and it keeps telling me that the...
Message doesnt exist 24 messages
west iron My code:https://sourceb.in/PSY3bdhAnP Error:https://sourceb.in/wE3njrCmH8
How to make a bot react to a message it sent? 29 messages
fierce tide I want my bot to react to a message it sent but I'm not sure how to make it react to its own message
How is it possible that the Message's author is equivalent to null? 7 messages
tranquil zephyr ```js TypeError: Cannot read properties of null (reading 'id') at Object.execute (D:\bot\dist\events\messageDelete.j...
Command Cooldowns 6 messages
slow cape ik its probably a dumb question but can someone help/describe to me how I would go about adding cooldowns to slash comma...
Anyone know why my command isnt working? 1 messages
west iron https://sourceb.in/E3xDeUWDti No errors , just app didnt respond
Bot not starting 3 messages
sleek saddle I tried using discord.js under deno and the bot won't even start, it deployed commands successfully. code: ```ts import...
hosting 5 messages
whole wave hi everyone, i have an existing web hosting, can i use it to host my discord bot?
Retrieve message author and content in Interaction using the targetId (that is = to messageId) 14 messages
craggy lodge Hi, how can I retrieve a message (by his id) info like msg.content and msg.member/author? I get the right-mouse -> app ...
I guess I found a bug in Webhooks 20 messages
wary belfry Well I want to send a message with a webhook into a Post (Thread's of Forum channels) and I found a bug!
Age-Restricted Commands 4 messages
stuck shale Is it possible to set the `nsfw` property to `true` when setting up the command using the `SlashCommandBuilder()`? https...
custom filter of Channels with their according Type 44 messages
mint oriole Hey so i would like a function similar to this: ```js function filterCh(channels:GuildBasedChannel[], [ChannelType.Priv...
Let users join server 5 messages
sonic quest Hey! We recently got raided and users used OAuth2 to authenticate themselves. Luckely we had the Join Servers scope, but...
DM a user using a bot 17 messages
signal stream Is there a way for me to search for users with a specific role (given in slash command) and then DM the users within tha...
Detect ephemeral response close 2 messages
slow pine Is there a way to detect if/when a user closes an ephemeral response? If not, what is the easiest way to add a cooldow...
Can anyone help me with this please 3 messages
vale fjord [Info] I am in 1 server(s)! C:\Users\user\Desktop\VainPvP\node_modules\mongoose\lib\drivers\node-mongodb-native\collecti...
Error 1 messages
west iron My code :https://sourceb.in/Gn61psLgRB Error:https://sourceb.in/prAVx1itGs
Presence Intents? 6 messages
violet lintel Could I ask ( I’ve been trying to figure out ), What are presence intents used for? Example Case?
How would I convert a URL into an attachment? 6 messages
glass apex Hello there. So, I'll keep this short. I have a `messageDelete` event handler, and I have a problem. When a user sends a...
Random 8ball 37 messages
stray sage Trying to do the all mighty 8ball in the bot. Somehow, this thing shows up! I'm pretty sure that the code is right, yet...
Attaching already existing attachments to message 9 messages
glass apex Hello there. So, as the title suggests, I want to attach already-existing message attachments on a new message. I am mak...
Moving attachments around 3 messages
thorn mauve I'm writing a small bot to help manage the reviewing of various content. This involves a slash command to start a review...
ERROR 50035 15 messages
coarse summit Hi, I'm facing an error related to DJS. I'm trying to include two inputs in my modal and it simply don't work. How can I...
Export channel permissions 5 messages
gusty dagger Hey! I have a question, is it possible to get a channels permissions using the channel id through DJS?