djs-questions

9202 threads · Page 123 of 185

can someone teach me how to load dok/eval command in d.js bot 2 messages
rugged shell I have a pretty good d.js bot but i don't know how to load eval/dok command.can u tell me pls?
998292157150535700
can i make post in bots? 2 messages
young solstice hi, can i make posts like this one in bots? also how to do that, what methods and classes avaiable
How to access an API error's response object 9 messages
crisp sonnet How can I access an API error's `response` object? In the guide it doesn't say anything about the error's response objec...
Select menu weird bahavior 53 messages
soft surge (reposted from <#824411059443204127> due to no respond for 10 minutes) Hello guys, I am back I have a problem getting my...
Need help debugging an error 13 messages
quaint loom Can anyone help me debug this please? I've looked all around my code but there's nothing about ID. Any lines regarding `...
Finding a role 5 messages
topaz shale Im using command option to get a user, for instance /addrole @name, i created a member value but cant figure out how to ...
Custom role selection menu 9 messages
gilded flower I would like to create a role selection field, like attached to this message (search feature, mulitple selections possib...
Using REST API 4 messages
tired ledge I am using this REST method, but instead of blindly following tutorials; I would like to actually know what it does and ...
Transfer DM 1 messages
stark rock Is there a way to transfer a user message received from the bot DMs to another user using a command
/ to normal commands 7 messages
sturdy juniper so i made my bot with / commands but i want them to also be able to use them as normal commands , so how i do i convert ...
displayName 6 messages
jaunty crescent I want to get the profile name on the current server of the user. currently I use it as following: ```channelName.replac...
998292157150535700
GuildAuditLogsEntry Typerror when checking for action 1 messages
oak lodge Greetings i would like to listen to the `GuildAuditLogEntryCreate` event check if the action type is `MemberKick` and th...
command not working 9 messages
sturdy juniper ``` colors = require('colors'); const { ActionRowBuilder, ButtonBuilder, ButtonStyle, SlashCommandBuilder,EmbedBuilder }...
component collector 6 messages
wet pier can i collect two different components? for example, i am using a button that leads me into a string select menu
How Can I Get a bot to respond to me in Dms 4 messages
gleaming thicket ```require('dotenv').config(); const { Client,IntentsBitField, Constants } = require('discord.js'); const { CommandHandl...
"owner-ids": ["the ID of the owner (insert as int, not string)", "this is a list so you can put in m 23 messages
feral osprey Please explain this real quick
is it possible to list all the guilds that a bot is in? 12 messages
cerulean bloom I can see that more servers seem to be using my bot. Is it possible to list all the guilds a bot is invited to with disc...
if one user is already using a slash command, other users are unable to create their own instances 5 messages
ebon patrol I made a quiz bot recently and when more than 1 person is trying to use the commands at a time the bot responds with "th...
commands stop working after 1 command 27 messages
hot lava my bot works for some time, then all the commands stop working, where am i wrong? error: https://sourceb.in/IOcOfg7qsd ...
add/remove role to/from users with specific role 8 messages
last lantern !
Detecting role removal 5 messages
fleet mesa ```js client.on('guildMemberUpdate', (oldMember, newMember) => { const roleID = '899870393282752542'; const removed...
Differences between UserManager cache and GuildMemberManager cache 30 messages
muted beacon What's the difference between the UserManager cache and the GuildMemberManager cache? I understand the difference betwee...
message.content empty 54 messages
grave hemlock When I print message.content, its an empty string, why? My Intents are ```js const client = new Client({ intents: Ga...
AttachmentBuilder with filename containing spaces 24 messages
civic patio ```js let itemNameSearch = 'Black Metal 2.0'; let itemImage = new AttachmentBuilder(`../static/renders/${itemNameSearch}...
Pagination 11 messages
median frost Hello, I'm currently experiencing an issue with pagination in my Discord.js bot, specifically related to updating the c...
I cant use my anycommand 164 messages
solid bear Even if I fix my internet connection problem I got this error
Calling a DM function from outside Discord.js 2 messages
nimble badger Heya, I was wondering if anyone has insight to how i can call for a DM event via a outside function, My bot is running ...
commands for reply 12 messages
pine turtle how do i make it so when it replies to a message it doesnt @ the person. as message.reply @s the person
998292157150535700
commands not working 9 messages
hot lava No terminal errors codes: mute.js:https://sourceb.in/x0o9psFUPs ban.js:https://srcb.in/IC8X46i8jV
Error in Syntax PS - dk which version of discord.js its running :) 3 messages
my bot is not working 21 messages
high flicker so i wanted to make a bot for my comunity but its not working i use replit in my browser to edit the code i have 2files ...
998292157150535700
Sending voice messages 41 messages
winged herald Hi, I want to send voice messages from a bot, do you think it's possible? I tried this code, and from what I can see in ...
986538542350086175
How can I send file attachment from string? 42 messages
chilly marsh Hey guys! I've been searching for some tutorial about attaching file to a message but I see that something must have ch...
button question 21 messages
wet pier is it possible for me to make a button where when its clicked i can send a message back to the bot that will make it do ...
I get an error 11 messages
vale void I don't know if this is the right channel to ask for help on how to create bots, if I'm in the wrong channel, please tel...
GuildMemberRemove not working 2 messages
fleet mesa ```js client.on(Events.GuildMemberRemove, async (member) => { console.log(`GuildMemberRemove: ${member}`); }); ``` W...
Cannot Edit Interaction 5 messages
rain skiff Trying to make a verification system, but the other file doesn't mention it as a message. (the index.js code is through ...
trying to make a bot listen to dms and then send the message to a channel 4 messages
severe wigeon so i´ve got this problem, im trying to make my bost listen to dms and whenever a message starts with ... i want it to se...
throw err; ^Error: Cannot find module '../commands/fun/avatar.js'Require stack: 22 messages
tulip sequoia Main.js File ```const { Client, Intents, Collection } = require('discord.js'); const Discord = require("discord.js") c...
How do I fix this? It bugs on some users and idk why? 3 messages
Error: Unsupported MIME type: image/webp 15 messages
quaint loom Trying to do image manipulation with peoples avatars but it's throwing this when a static image of someones avatar is be...
discord js 12 use display name ? 14 messages
vague grail is there a way to use display name on discord js 12 ? once its a things
How do I create a channel with my bot? 3 messages
winged sequoia I'm kind of a rookie at making discord bots, so I'm not really sure how to do this. This is what I found online, but doe...
Issue with setPresence() method 5 messages
drifting inlet ```js const { Client, Events } = require('discord.js'); const { token } = require('./config.json'); const client = new ...
opt is not defined 6 messages
rain skiff I already have all the database stuff handled, it's just the tags. The node version is in the error btw `Node.js v18.3...
Avoid ratelimit 2 messages
pallid helm My bot does things that could possibly get it ratelimited, as it sends a ton of messages. Are there any precautions that...
Commands not working 9 messages
tulip sequoia I made this discord bot about maybe 2 years ago I have recently started developing it again to use it as my final A leve...
dashboard problems 3 messages
sterile plank so this actually doesn't have anything to do with discord.js but i cant find anyone who can help i am trying to make my ...
DiscordAPIError[50013]: Missing Permissions 33 messages
languid lake .
Filter not picking up when a user interacts with a static message 6 messages
ebon patrol ```module.exports = { name: 'ruleVerify', async execute(client){ const rulesMessage = client.guild.chan...