djs-questions

13317 threads · Page 69 of 267

please help my bot is not giving commands to it even its 24/7 30 messages
bitter thistle i dont know my version 💀 my discord bot has commands of rps and say and last night it was working good but i wanted ba...
Member Permissions 8 messages
wild mesa Why is ManageRoles permissions in the channel.permissionsFor(member) when the member doesn't have the permission to do s...
how can recive content of modal ? 13 messages
split coyote how can recive content of modal please?
@discordjs package
how to make bot handle external embed 41 messages
dreamy jacinth How to handle embed created by external app? - I wish to send an embed on behalf of the bot, thru my custom game (with...
Discriminator turns into "0" 85 messages
is it possible to detect when someone starts speaking in a voice channel 9 messages
round mantle I don’t need to know what they are saying but that their mic is active.
Is it possible to run through message history since the start of a channel? 18 messages
void condor I need to pull all messages out of my channel, it's a few years old. Is it possible somehow?
how do i play audio with my discord bot? 12 messages
serene shoal i have this code ```js const { SlashCommandBuilder } = require('discord.js'); const { joinVoiceChannel } = require('@dis...
node
softblocking commands 4 messages
dawn juniper I want to control on which servers my bot can be used. Is it better to softblock commands at execution level, depending ...
@discordjs package
check if bot can interact with a specific user/role 24 messages
gray otter Hello, I can't find in the docs how to check if my bot can interact with a role/user also how do I check for "public rol...
PermissionOverwrites 20 messages
client.channels.cache.get(channelid) returning undefined 15 messages
gentle fiber Attempting to send a message to channels using the channel id. However, client.channels.cache.get(channelid) keeps retur...
How to write a JSON file with a list of discord.js statuses and import it into the main index.js? 25 messages
wary cloud //index.js ```const statuses = [ { name: "ABC", type: ActivityType.Streaming }, { name: "DEF", type: ActivityType.Wat...
@discordjs package
Can you parse and return components? 8 messages
supple brook I had a button action row working just fine ```js ... const leBtn = new ButtonBuilder() .setStyle(Butt...
no reliable output and i dont know why: 20 messages
serene shoal ```js const { SlashCommandBuilder } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() ...
node
just explanation 2 messages
swift finch Is there method that i can make the photo in setImage() in embed be gif ?
error fetchWebhooks 34 messages
cunning canyon https://sourceb.in/xS5ev45m0i invalid from body: https://sourceb.in/XIGuhzitCb
node
threadCreate event emitted only when a user create a thread 27 messages
icy stag Hi it seems that the threadCreate event is emitted only when a user create a thread because when i create one manually t...
Not reacting to previous messages 2 messages
tawny temple Hello, I have an issue as my bot works like charm for every events happening on messages that have been sent once the bo...
node
Collector not replying on pressing on choices of a select menu 46 messages
ocean falcon https://srcb.in/Nk4Nbiq4vt
MessageCreate handle command does not work 7 messages
viral zealot In the process of moving from v13 to v14, the slash command was successful, but the normal command did not work, so I'm ...
node
Getting Guild Events 7 messages
frozen dirge In trying to create a message system to remind users before a guild event starts. I’ve gone through the documentation an...
node
This content is no longer available. Discord 8 messages
simple horizon Tried as usual: uploaded my video to discord server for storage and use of a hot link, but today when I uploaded a new v...
deferReply() 10 messages
peak geyser hello, is there any way to remove that message after the program is finished?
hi guys How can I show when the user entered the server in the embed? 41 messages
solemn ruin hi guys How can I show when the user entered the server in the embed?
Can someone explain me how I can use the sequelize? 2 messages
lapis grail I coppied the repo from discord.js but how I can test the content? In my DB
Interactions overlapping? (I don't know what even happening anymore) 50 messages
undone geyser I have command that sends a ephemeral message with buttons, and then using message collector to get response from button...
node
How to make an autocomplete list from mongodb entries 8 messages
remote horizon So I have an array of objects, i want to display the name field of each object in a list, and then once an option is cli...
node
Send message to specific channel 18 messages
abstract pond How can I send a message to a specific channel of my guild?
bun @discordjs package
Ticket Support 6 messages
viral nest Why when i run the bot, the terminal gave me this error?
Webhook send channelId option 7 messages
zenith dune Is it possible to parse a channel ID on the webhook.send method for it to send to a thread rather than it sending to it'...
node @discordjs package
Issue with Select Menu 9 messages
rare coral Hello, I'm new with select menus, I tried them today but the bot isn't responding to them. The console does not get an e...
node
invalid from body 8 messages
cunning canyon ```DiscordAPIError[50035]: Invalid Form Body 14.options[3][APPLICATION_COMMAND_OPTIONS_TYPE_INVALID]: Sub-command and su...
node
invalid from body 4 messages
cunning canyon ```DiscordAPIError[50035]: Invalid Form Body 14.options[3][APPLICATION_COMMAND_OPTIONS_TYPE_INVALID]: Sub-command and su...
node
Latency 15 messages
tall sleet After I created shards for bot, latency went from 8-10 to 200 and this happens sometimes
modal submit unknown interaction 4 messages
sand bluff ```js await interaction.showModal(modal); //ButtonInteraction const filter = (i) => i.user.id === inter...
MODAL 15 messages
split coyote hey, how can add textlabel in modal please?
node @discordjs package
Add points to multiple users at once 7 messages
ocean falcon I want to make 3 optional options to add points to multiple users at once, How can I achieve that without adding the poi...
Authentication failed at WebSocketShard.onClose 71 messages
summer wagon I get this error once every few weeks and discord resets my bot's token. ```Unhandled rejection: Authentication failed a...
For some reason my collecter won't work? 4 messages
glossy falcon It doesn't give me an error or anything and ive been debugging for about 6 hours now. Any pointers are appreciated.
Embed is only sending once every time the slash command is ran every active session 13 messages
proven crystal By every active session I mean every time the bot is online. I have a slash command that is like an 8ball command. It i...
node
Download Node JS without admin rights 6 messages
zinc iron Hello i want to know if it's possible to install node js npm without admin rights please
node
403 Error due to new image expiration? 15 messages
gilded crypt Hey all, I'm unfortunately having issues with a ticket transcript system that I created for my discord bot. I've done so...
node
Discord.js bot not pinging roles 28 messages
Getting: Invalid bitfield flag or number: VIEW_CHANNEL. (creating a text channel) 4 messages
glossy falcon dont rlly know. code: ```js collector.on('collect', async(i) => { const selection = i.values.join(',...
Anonymous bot sub-users (PluralKit) 5 messages
fringe topaz How would I create anonymous bot sub users like what PluralKit and similar bots do? The users are marked as bots and ge...
slash commands 17 messages
split coyote how can creat slash command with open popup(modal) ? pls
@discordjs package
Trying to join guild by keep getting "you need to update ur app to join this server" 3 messages
errant mango im using a cap solver to join the server, i have tried everything - does anyone have any code or a solution to this?
node
Stock element to send embeds 2 messages
upbeat depot Hello guys, is that possible to stock the id of members who react to a message and send an embed to an hour preselected ...
Bot status occasionally reverts back to initial status from the status set in ClientReady 14 messages
vernal siren Im using DJS with sharding. I initialize the client with a status of "Starting" and then in ClientReady I basically set ...
node @discordjs package