djs-questions

9202 threads · Page 147 of 185

should I use Sapphire.js? 1 messages
vagrant rapids I used to use discord.js commando on my discord bot and learned a while ago that its deprecated. I see that sapphire.js ...
Creating private groups 4 messages
gilded wraith Have they made an update where you are able to now? Creating Private groups without OAUTH2 and token
@discordjs/rest ratelimit issues (likely) 3 messages
wanton geyser Hello, I've been using `@discordjs/rest` separately as a rest proxy in a separate process so my bot makes request to the...
998292157150535700
Error accessing discord API 15 messages
mossy folio ` node deploy-commands.js Started refreshing 6 application (/) commands. DiscordAPIError[0]: 401: Unauthorized at Se...
Slash command isnt working 68 messages
lyric stag I need help with slash command
My Embed isn't working 5 messages
hallow briar ```js const embed = new EmbedBuilder() .setColor("#2f3136") .setTitle("💵 **TICKETS - PU...
Platform 2 messages
iron sierra How get user platform?
Uploading emoji by URL doesn't work 2 messages
warm apex does anybody have know why uploading emoji by URL doesn't work anymore? It is giving me error everytime when I try to up...
save roles to json 28 messages
bold sigil Hi everyone, this is my code: ```fix async function getRoles(guild) { const roles = []; guild.roles.cache .filte...
embed 8 messages
harsh hill How to send embed message pls
Members not a valid property on channels.fetch? 5 messages
fallow hull I am trying to make my bot leave a voice channel when there are no more people in there, looking through the docs my cod...
998292157150535700
Detect webhook message 37 messages
dire nimbus ```js const { fetchWebhook } = require('discord.js'); const UserModel = require('./models/userModel.js'); const webhookI...
Discord Bot Status/Presence doesn't show 36 messages
warm pecan Please help me, i have no errors and am confused on why this isn't working.
How do I write code that performs commands to other channels with '.addChannelOption'? 2 messages
mellow kite If I write a command from an administrator channel to another channel, how do I make the command run on a channel other ...
Can't I fit the button size to the embed size? 5 messages
mellow kite plz
guildMemberAdd not working (FYI i've enabled the intents within Discord Developer) 12 messages
vast cloud As title states
Weird Buttons 8 messages
slender jewel https://sourceb.in/97Q0gfHEkc sometimes when i click the button that has a value with an incorrect answer, it doesnt rep...
Command permission overrides token? 9 messages
slim marsh I'm upgrading from v13.1.0 to v14.8.0, and now all of a sudden setting guild command permissions requires a token? I can...
Files larger than 8MB 5 messages
blissful kernel How can my bot send images larger than 8 mb? Is that even possible?
Role specific commands? 5 messages
jagged flame Is it possible to have commands only show up for users who have a specific role? For example theres a moderator command ...
Reply to a interaction in ephemeral but user can see it 3 messages
Is there a way to auto subscribe a set of users to a GuildScheduledEvent? 4 messages
coarse sigil I'm working on a event system, was wondering if there is a way to add a list of users to the subscriber list.
Leave message (VPS Host) 10 messages
sand berry I writed a leaver+welcomer system, the welcomer system works fine, but the leaver system works after the second leaving ...
New in discord.js 9 messages
rare coral Hello everyone, I'm new in discord.js and i'm trying to make my first bot with slash commands. In the Welcome page (disc...
Why do I get this error? 6 messages
past dagger 0|ts-node | Error: Cannot find module '../util/Options' 0|ts-node | Require stack: 0|ts-node | - /root/Azury-tester/n...
write server info to json? 103 messages
bold sigil Is it possible in discord.js to write the servers information (channels,server name and logo, categories, roles, permiss...
Expression expected help 1 messages
charred elm How to fix this?
is there any way to fetch an interaction by it's id? 28 messages
vague tendon is there any way to fetch an interaction by it's id? cause i want to fetch it and do editReply() on it at a later date
Need help with intents error 5 messages
tranquil ridge ```js RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined.```
How to Even Make a Bot? 12 messages
verbal yarrow I always wanted to make a discord bot. I always get confused because discord keeps on changing their node.js library. Ca...
Help with discordjs docgen 1 messages
tribal gulch I setup docgen following another repo I found, it generates a file properly, but it doesn't parse the typedefs correctly...
998292157150535700
How can I get a voice connection object from an interaction object? 4 messages
fallow hull Pretty straight forward question in the title, I set up my Bot as per the structure in the docs with the separate 'even...
998292157150535700
help load commands 8 messages
cinder marten Anyone have a solution?
Unknown Interaction & Interaction already replied to 32 messages
halcyon basalt this is what it's giving me, on a command that contains only 1 interaction.reply, throwing an error instantly, not conta...
Shards status being disconnected 4 messages
cosmic flax i have some shards in a cluster showing as disconnected, and i want to force them to reconnect since for some reason djs...
Equal method in Application Command 4 messages
timid sand Does Slash command data `SlashCommand#toJSON()` works in command parameter of `ApplicationCommand#equals()`? Im trying t...
Server Insight Question 4 messages
gloomy flame is there any way to get information from server's insight like how many users are connected from phone or pc?
Is there a way to get a Discord video (attachment) thumbnail? 15 messages
topaz kraken hii, is there a way to get a Discord video (attachment) thumbnail, I found something that maybe can work but it didn't w...
TypeError: Cannot read properties of undefined 13 messages
wooden surge TypeError: Cannot read properties of undefined (reading 'get') at Object.execute (/home/runner/CreativeFlawlessMass/...
Data 10 messages
sick yoke when i check some id stuff, example like: i want to check bot's voice channel: `message.guild.members.me.voice.channel.i...
Error when editing button 5 messages
rough mulch code: ```await channel.send({ content: <content>, components: [{ type: 1, components: [{ type: 2, ...
Private Bot 9 messages
gaunt ether Is it possible to make my bot private? So only allowed servers can invite and use it.
message.channel.send ephemeral embeds 12 messages
stiff rivet Hello all! so I'm creating a discord command using messageCreate and I'm wanting to integrate some buttons that keeps th...
bot doesnt respond to commands for some reason 23 messages
wind gorge code:
Request entity too large 6 messages
fiery mulch I get Request entity too large when adding a mp4 file to channel.send its a 10mb file.
Message collection, application not responding 5 messages
errant furnace ```js const { SlashCommandBuilder } = require('discord.js'); module.exports = { data: new SlashCommandBuilder()......
pagination token 6 messages
hidden swallow Can anyone here assist me with how to use a pagination token to auto complete a slash command choice? I feel like I kee...
Bot is not online 5 messages
zenith gazelle My bot is not turning online, even with working backups, there's no error :/ When my bot came online does not detect any...
User-specific interaction 6 messages
tall beacon I am trying to build a simple embed with a previous and next button that would edit that embed. However, I only want the...
command-deployment guide misunderstanding 6 messages
inner pendant i copypasted the code from guide to see if it works. Currently i ran into a problem with understanding what "clientId" a...