djs-questions

13317 threads · Page 70 of 267

slash 5 messages
eternal vapor how to make subcommands with rest without slashbuilder
help with a secret buttons 13 messages
lofty sierra I would like these two buttons to be visible solely and exclusively to the admin role and not to the members, how can I ...
Can I send a message without async? 4 messages
random vine Hey guys, i was tried to send message to channel with async But is there any way to send message without async? ```js...
Question: GUILD_PRESENCES rate limit 52 messages
node @discordjs package
How to join in a team? how to code together? Can anyone help me please 4 messages
marble wedge I really need help on this
dev release
Issues with discord.js errors in Bun 22 messages
mighty timber Hello. I am looking to confirm that I am not the only one with the following issue. I'm also trying to understand if thi...
bun
Problem 17 messages
cunning canyon ```TypeError: options.getSubcommandGroup is not a function at Object.execute (C:\Users\PC\Desktop\LunarDSC official ...
node
help with a verify function 2 messages
lofty sierra hi guys, I would need help because I have problems finishing a part of the code of my verification function, I would lik...
postgresql issue with discord bot I am setting up 3 messages
ebon slate ```js node:os:347 throw new ERR_SYSTEM_ERROR(ctx); ^ SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv...
Fetching specific guilds across all shards 51 messages
fallow trout Hey there, what's the proper way of finding specific guilds across all shards? I tried following the tutorial on the gui...
node
Unknown member 20 messages
lime dragon DiscordAPIError[10007]: Unknown Member Code: ```javascript if (subcommand === "zmień-prezesa") { con...
Bump Command on Bot. 64 messages
I haven't fully figured out subcommands yet 21 messages
lone quartz ``` const {ButtonBuilder, ButtonStyle, StringSelectMenuBuilder, StringSelectMenuOptionBuilder, Events, SlashCommandBuild...
Please help me create a slash command 5 messages
lone quartz I have a problem when creating a slash command: I want to make it two separate words, but I am faced with the problem of...
Embed Message 48 messages
viral nest Hi everyone, I need help regarding this string, apparently when someone joins the server, the embed message doesn't appe...
Reload command issue 6 messages
obsidian shale I have been trying to use the reload cmd from the djs docs but it gives me this error
Trying to change a variable inside a CATCH 15 messages
last lantern well i have a piece of that im trying to send message to a specific amount of people and im trying to find out how many ...
embed create 4 messages
inland depot hey, i would like create a embed but i do not
node
I don't know how to register commands 3 messages
abstract pond A while ago i created a discord bot with only one command, and i think i lost some files. The only command that works is...
bun
Getting Error assigning bot role: DiscordAPIError: Missing Permissions 3 messages
tired olive When my bot does not have the highest position and I attempt a write operation to a role with a higher position, I encou...
node @discordjs package
When the bot is online and I try to use a command, it doesn't work and doesn't give me error message 29 messages
Run .JS on ubuntu VPS 24/7 3 messages
Creating role at a specific position 13 messages
fathom quarry I have an existing role and when creating new ones, I'd like them to be just above the first role on the list. How do I ...
Matching the start of a message with a string in a database 5 messages
fiery escarp Hello! I'm in the early stages of working on a bot sort of like PluralKit: it detects when a user starts a message with ...
Avoiding Overwriting Variables in Collectors (14.14.1) 4 messages
elfin kelp When using collectors, what is the best way to preserve a variable determined in one interaction for use in a future int...
Random chance role. 5 messages
outer gyro Hi. I'm stuck on script as idk how to correctly write it to do what I want. Currently stuck on line 32 where I need to c...
Cannot read properties of undefined (reading 'FLAGS') 7 messages
glossy falcon code works fine on windows but for some reason gives this error on linux(ubuntu)
Bot is waiting for something to happen and timing out after sending command response 24 messages
Formatting text inside embeds 12 messages
short igloo How do I format my text like this?
i want to put the executor name in the embed ban message but i have an error 17 messages
winter walrus j
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...
node
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...
node
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...
node
Channel's Permissions Update 9 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...
node
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...
node
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'); ...