djs-questions

9202 threads · Page 67 of 185

Error - Opening handshake timed out 5 messages
lilac abyss My bot was running okay locally until recently it sometimes raises the timed out error when I tried re-running the code....
Not just one but all the commands don't work 45 messages
lilac dirge Not just one but all the commands don't work
Not just one but all the commands don't work 1 messages
lilac dirge Not just one but all the commands don't work
DM Button not triggering InteractionCreate 23 messages
neat stag Hello, I'm trying to get a button working in DMs, but it does not seem to be even triggering the InteractionCreate event...
Is it possible to receive ephemeral message in "messageCreate" event ? 5 messages
dawn thistle Hello everyone, I'm going back on the code of an old project and I notice that in the handler for the "messageCreate" e...
Counting voice 18 messages
lone quartz Uncorrected counting voice channels members
How to add members to a thread 12 messages
lethal kite Is there a way to add members to a thread without sending a system message like the one in the image?
The problem with counting users in voice channels 4 messages
lone quartz The problem with counting users in voice channels, the input to the channel works fine, but the output remains the highe...
Can two shards have the same guild in the guild cache? 35 messages
muted beacon This may seem like a dumb question, but it's genuine; I believe I am having a scenario where two shards have the same gu...
ReferenceError: Client is not defined 24 messages
shadow yew ReferenceError: Client is not defined at Object.<anonymous> (C:\Users\\(name)\my-bot\bot.js:1:16) at Module._com...
Thread sometimes null? 12 messages
heady sand Why is thread sometimes null? ```ts msg = await (channel as ForumChannel).threads.create({name: post.info.title,message:...
No setActivity 7 messages
quartz orchid Hello, I'm just starting to learn Discordjs. Now I'm getting an error so that client.user.setActivity() isn't executed. ...
1150878580193116250
bot 33 messages
tight echo please help me with a bot
998292157150535700
Put an asterisk symbol 17 messages
wicked linden I want to make a note in the text of my bot ("* text"), but when I put an asterisk symbol, an asterisk is created, and i...
I'm new to discord.js and I'd like to learn about the .env file 34 messages
dreamy lava I've been watching videos on YouTube to get a grasp on what I need to do initially. I've already set up my `package.json...
Is there a way to unregister a specific commands? 2 messages
dawn juniper Title.
Bot statuses disappear after a short while 20 messages
wary cloud Hey everyone, does anyone by chance know why my bot stops displaying its statuses all together? My statuses are defined ...
discord.js not working on raspberri pi 8 messages
sonic verge Hi, does somebody know why i can’t install discord.js on my Raspberry Pi 4 (Pi OS Lite)? Reinstalling and deleting the n...
1150878580193116250
How can I loop through all guilds and log the name 11 messages
sonic loom My bot is in over 4700 guilds and I set shards: auto I am not familiar with discord.js so if you could provide a short ...
No command handler found 7 messages
tribal dragon I have built a bot based on the guide (https://github.com/discordjs/guide/tree/main/code-samples/creating-your-bot/event...
channel.createWebhook() returning Request Aborted 103 messages
quaint loom I can't seem to understand why this is happening. I'm trying to create a channel webhooi and it thinks about it for 30s...
Compare interaction result and DB data 22 messages
hidden torrent Hi, I want to get DB data to compare it to an interaction result data and I'm lost trying to fix my problem : when I ent...
messageCreate event 11 messages
last wagon anyone got any clue why this aint working? ```js client.on('messageCreate', (message) => { if (message.mentions.has(m...
Send mp4 file 20 messages
kind terrace I have a mp4 in my directory that I want to send it but it's sending the video like this. how can I fix this ``` ...
Bot not responding to prefix cmds 5 messages
compact walrus Hi to all! I have the following in my `./events/messageCreate.js` ```js const { Events } = require('discord.js'); modul...
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?
998292157150535700
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...
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...
1150878580193116250
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 ...
998292157150535700
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...
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...
998292157150535700
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() ...
1150878580193116250
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
1150878580193116250
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...
1150878580193116250
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 ...
1150878580193116250
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...
1150878580193116250
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? 40 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...
1150878580193116250