djs-questions

9202 threads · Page 69 of 185

i want to put the executor name in the embed ban message but i have an error 17 messages
winter walrus j
role.setIcon 1 messages
opal wind I've tried multiple URLs on this and it just never seems to work. Is there a good way of getting this to work? I've trie...
Bot Creator 2 messages
pastel wolf Hello, I don’t really know if I should be posting this here, but I am looking for somebody to make me a discord bot. Fe...
1150878580193116250
Modal not opening 7 messages
solar comet is there something wrong with my code? whenever i try to run the command it tells me "The application did not respond" h...
Cannot read properties of undefined (reading `fetch`) 14 messages
keen spade I'm trying to add a role to a newly joined user, after parsing their display name through an external API. However, I g...
Log channel's permissions update 63 messages
south thicket Hi, when i update one permission, all good, the log is correct.
why won't my commands send? 12 messages
barren ingot ```js client.on('message', message => { if (!message.content.startsWith(prefix) || message.auther.bot) return; ...
the !shard command logs do not work in shard 1 10 messages
harsh hill .
Help with Error: Used disallowed intents 5 messages
strong shell Hello, I am learning how to code with a youtube video and I am wondering why Im getting this error and how to fix it. `...
Interaction reply option type for Stickers? 2 messages
glass dove I can send stickers in messages no problem however when I try to reply via interactions it will not send the sticker. ``...
events help 6 messages
jagged flicker How do I make events for: - Channel Updates Etc - Role Updates Etc I use module.exports and was wondering how to do it...
1150878580193116250
Automatically Change Bot Icon On Server Icon Change 46 messages
void gulch I have a guild update event that checks if my server had it's icon changed, and if so assign that new icon to the bot as...
commands not refreshing 5 messages
sacred dock I have always added my commands on the ready function, but I read somewhere that this is not a good practice, anyone has...
How to do both / commands and ! commands for 1 bot. 31 messages
hard lintel I want to create a both that can use both /battle and !battle, they should do the exact same thing. Here is what AI kin...
1150878580193116250
Channel's Permissions Update 8 messages
south thicket Hi, how can i check if channel's permissions has been changed ? Here is my code : ```js if(oldChannel.permissionOverwri...
embed table whit top 3 members and change their nicknames 12 messages
lone charm hi, i have a embed table whit top 3 members, i dont find the way of how i can change their nicknames adding a crown emoj...
Bot not answering to the commands without any errors in the console 10 messages
verbal sentinel My bot not answering for all commands index.js - https://srcb.in/BOI6TXVEVF command for example (`eval.js`) - https://sr...
1150878580193116250
When bot gets added to any server it creates role but doesnt sets the name i mentioned to it . 5 messages
flint adder the whole block of data: doesnt runs idk how please help
Error 8 messages
spark tiger Hello i get this error when starting my bot. Can anyone help? I use Discord v12 https://i.imgur.com/8cQ4Lcr.png co...
messageCreate not triggering 3 messages
proud seal node version: 17.0.1 intents: ``` const intentArray = Object.keys( GatewayIntentBits.Guilds, GatewayIntentBits.G...
1150878580193116250
Accessing elements inside a returned sequelize object 4 messages
prisma plume In my messageReactionAdd.js file I'm trying to just get the value of one of the properties in the returned object from m...
Don't see my button on a message 4 messages
pulsar moon the code is ```js const { ActionRowBuilder, ButtonBuilder, ButtonStyle, SlashCommandBuilder } = require('discord.js'); ...
Bot permissions 31 messages
urban rover How do i enable these permissions?
1113356221962010634
interaction works on and off 6 messages
sacred dock Alright, I'm wondering if discord has some sort of rate limit when you testing commands, because it started to refuse so...
Moderation Logging System 6 messages
south thicket Hi, what's the best way to do a moderation logging system ?
collector problems and error 2 messages
rancid tartan code:- ```js const row = new ActionRowBuilder<ButtonBuilder>().addComponents(bttn1, bttn2); con...
1150878580193116250
Problem with stats.js 7 messages
unreal jasper So I'm trying to update this old stats command that I had. I'm trying to send a huge embed which requires me to defer th...
mysql2 prepared statement 3 messages
split cove I wanted to ask you which way is the best for prepared statement in mysql2 First: ```js try { const [rows] = aw...
setColor 5 messages
sleek crypt getting this error when doing .setColor() for an embed { "errors": [ { "name": "Error", "validator":...
Automatically deleting and recreating channels every 5 seconds 9 messages
spark orbit I'm having trouble getting this to work for some reason: ```js const { Client, Intents, GatewayIntentBits } = require('...
paginations 10 messages
pseudo lily I've made paginations and they use collectors. Is there a way of making a paginations without them? So whenever the bot ...
Error 7 messages
lime dragon node:events:491 throw er; // Unhandled 'error' event ^ DiscordAPIError[10007]: Unknown Member at handleE...
Invalid Form Body 1 messages
lime dragon /home/container/node_modules/@discordjs/rest/dist/index.js:722 throw new DiscordAPIError(data, "code" in data ? da...
rate limit information 30 messages
formal surge Is there some way to hook into the rate limit information that DJS evalueates so that the application can also handle so...
Unknown interaction 1 messages
lime dragon DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData); ^ DiscordA...
interaction deferreply 11 messages
junior widget i used interaction.deferReply but console tells me haven't ```const { SlashCommandBuilder, PermissionFlagsBits, EmbedBu...
interaction defer 1 messages
junior widget i used interaction.deferReply but console tells me haven't use
Slash command setting not working 20 messages
half apex Trying to set slash commands for my bot and I'm not getting any errors, but my slash commands are not being updated prop...
paypal rest api 6 messages
signal sky does anyone here know or have used the paypal rest api and can help me out with something? apparently, everything in san...
Initial DM with new Bot via Link 23 messages
golden galleon Is there a way to DM a new Discord Bot via a link or searching the client ID from the discord application? I'd like to b...
Setting permission overwrite value to null. 13 messages
latent agate Running into an odd issue, simply put: ```js vc.permissionOverwrites.edit(interaction.guild.id, {Connect: null,}); ``` ...
Cannot read properties of null 9 messages
outer ferry Hi, I am experiencing the following problem when I want to get the status of a server member. Why is it always null? ```...
Code not working 14 messages
hasty surge ```js const { REST, Routes } = require('discord.js'); const BotID = "1172706429157773443"; const token = process.env.For...
Attachment not being sent 13 messages
proven drum I have been trying to send a attachment of some backup data in one of the channels, however every time it sends the mess...
Problem with found user in specific guild 26 messages
lime dragon I cant find and add role user in specific guild. Here is my code: ``` const main_guild = interaction.cli...
ffmpeg errors 20 messages
near shale ```node:events:492 throw er; // Unhandled 'error' event ^ Error: spawn ffmpeg EAGAIN at ChildProcess._h...
Make a function to send message to a channel 13 messages
vestal river How to make a function `sendMessage(msg)` to send message to a channel?
1150878498534199426
Attempting to fetch users custom status! 16 messages
glossy falcon i have some code how ever it errors out!
Collection Reaction not working. 37 messages
hard lintel I've been messing with this for hours and searching all the same stuff It's just not working for my so no idea what I'm ...
998292157150535700
Making commands customizable by the guild members 14 messages
eager rune Hello! I've seen quite a few bots with the option to let guild members create their own custom commands (like YAGPDB and...
1150878580193116250 998292157150535700