djs-questions

13317 threads · Page 53 of 267

AutoComplete Problem 5 messages
rancid tartan before:- ```ts async autocomplete(interaction: AutocompleteInteraction) { const focusedValue = interaction.o...
node
Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType> 5 messages
jovial raptor Why is this happening when i try to get the user from my slash command option like this? ```ts const user = interaction....
data.poll.question[POLL_MEDIA_CONTENT_MISSING]: Poll media must include text, an attachment, an emoj 4 messages
quaint loom What am I doing wrong? Don't mind the would-you-rather question 😅 ``` { question: 'Would You Rather:', answers: [...
need help with APIs 2 messages
lunar gull Need help with creating or importing a handful of APIs into our Custom GPT please dm if you can help me out, its for my ...
Error: There was an error: DiscordAPIError[50035]: Invalid Form Body 7 messages
finite lotus ```js const { ApplicationCommandOptionType } = require('discord.js'); module.exports = { name: 'tax', descript...
node @discordjs package
different embed? 20 messages
proven drum Here I'm trying to detect embeds from a bot but for some reason it is not able to detect a perticular embed https://src...
Sharding in Multi-Servers 24 messages
shell anchor Hello, So I have a Music Bot and as it's groing exponentially I am in need to use it in a multi-servers way. So I set u...
node
Configuration ouputting to console 39 messages
willow shale I've encountered a strange issue over the last couple of days. Whenever I execute a command that sends a message to a u...
TextInput in message components 3 messages
river dock Hey guys I'm trying to perform a message component send, In addition to using buttons and a selection menu, I wanted to ...
node
Updating Users Permissions (RoleManager)? 8 messages
hexed hearth Once Discord.js has started and I change roles on a user, the permissions bits stay the same as the permissions when the...
Get all messages from a user 3 messages
cinder pelican Hello, I was wondering if it's possible to get the number of messages sent by a specific user since he is in the server ...
node @discordjs package
DiscordAPIError[50027]: Invalid Webhook Token 3 messages
thick sierra Hey, I made a discord bot, but something isn't working. Occasionally when lots of people use the bot I get this error: ...
node
Problem with the v14.15.1 16 messages
chilly quiver Hey guys, i installed the new version of discord.js but when i'm starting my bot that return automatically an error on m...
VoiceReceiver - Subscriptions needed before detection of start/end? 2 messages
safe sorrel I seem to have successfully set up a VoiceReceiver, which is connected to a VoiceConnection: VoiceReceiver { voiceCon...
node
know boosts for a user 2 messages
tawny forge i need to know the number of boosts for a user for example 1 boost or 2 boosts
Is there any way to handle a poll ending? 4 messages
silk cliff I want to do something based on the results of a poll after it closes - is this possible?
Use new poll feature 2 messages
vagrant rapids 14.15.1 introduced allows bots to use discord's poll system but I can't seem to find a how to anywhere. A link would be ...
Interaction authorizing_integration_owners key 3 messages
hexed sorrel Hello! For a while now I've been using the raw interaction data in order to get some informations that weren't in discor...
difference between discordjs package and discordjs rest and discordjs core? 4 messages
magic hound Hey guys what is the difference between discordjs package and discordjs rest and discordjs core?
node @discordjs package
Using discord.py base with nodejs (discord.js & voice) as addons 24 messages
safe sorrel If an entire current setup is based around python, but I want to harness the speaking functionalities which only seem to...
node
Installation 3 messages
strange charm How do I install Discord.js, and where is the place to use "npm install discord.js"
Missing Permissions error 2 messages
bold halo A quick question: Can my bot change my nickname as a server owner? I have already given my bot all the rights and set it...
Hosting in Azure App Service (Web App) 6 messages
rare summit Has anyone ever deployed a Discord bot to Azure App Service? I have played around quite a bit and can not get it up and...
Collector problem 15 messages
chilly quiver Hey guys, i'm trying to create a bot, i'm starting to learn collector, so i started with a guess the number commande but...
Role Stats 3 messages
viral nest client.on('guildMemberAdd', () => { updateVoiceChannels(); }); client.on('guildMemberRemove', () => { updateVoiceCh...
Command Map 4 messages
jolly ravine async execute(interaction, client) { const { commands } = interaction.client; applog('...
Can I use the API to access /users/@me 6 messages
old star I was looking at the documentation and was looking through the API class in core package, and noticed that it has a user...
@discordjs package
ERR_IPC_CHANNEL_CLOSED 22 messages
solid moth just trying to start my bot ( sharded), what is the significance of this error a nd how do i fix it
Creating Channel under Category 4 messages
idle moss what is the code to create it?
New Voice Channel id? 7 messages
jolly ravine client.guild.channels.create({ name: vcNewChannelName, type: ChannelType.GuildVoice, ...
application did not respond 15 messages
hard dragon Hey do somebody know why this is not working? i have a: ```ts client.on(Events.InteractionCreate, async (interaction) =...
best redis alternative? 2 messages
split lake Does anybody know a better redis alternative where you can store an object with multiple keys? In redis you can do this...
node
Question 9 messages
bitter rock How can i make the message commands work in only one specific channel using discord.js
permissionOverwrites 3 messages
royal oriole Helo i have problem with my allow permission look pls How i fix it
PermissionOverwrites 7 messages
wicked nacelle How can i get the permissionOverwrites of a channel,i would like to get the object like allow,deny,type
What are events used for? 8 messages
reef dirge What are events used for?
need help 15 messages
trail stag I getting error when users connects in VC to early (Before Embed created and sended in channel) Bot trying to update emb...
node
How to change a variable that is in an array that is in an array in database in discord.js v14 ... 2 messages
idle snow As a database I use mongo db
'Unknown Integration' 5 messages
pliant swift Hello, I've been coding discord bots for 4-5 years now, and ran into a slash command error that neither I nor apparentl...
how write data to json 4 messages
jolly ravine Is there any solution? My way looks not good
Difference between canvas and @napi-rs/canvas 10 messages
fierce lava Hello.
Best way to get active client from http request 5 messages
cloud venture Please tell me if this is absolutely crazy. From a game we're sending an http request to an express app. At that point ...
Error with mongoDB 8 messages
rugged cedar Hello, I am trying to ensure that on all servers where my bot is found per server I can define a channel logs for admin ...
NODE_ENV=production optimization for discord.js ? 2 messages
magic hamlet Hello <:Hey:741288998768607272> Does Discord.js do any specific optimization when starting with NODE_ENV=production?
node
list all commands in array 8 messages
jolly ravine ` `` async execute(interaction) { const foldersPath = path.join(__dirname); fs.readdir...
Whats the best way for Hosting a Discord bot? 4 messages
static light Currently it runs in a CMD with node.js Is there a more efficient or performance-oriented way? Or is that already the ...
node
ContextMenu Build 14 messages
small vault I want to make a contextmenu command the problem is it says:
Is there a way to get rate-limit data about an action (like update thread name) ? 14 messages
dawn thistle I would like to check if my bot is rate-limited before trying to update the name of a thread. Is there a way to do that ...
node @discordjs package
Logging API response body 10 messages
fossil fable Hi, I'm back once again - is there any way to log the parsed response body received from Discord? I can see the request ...
node @discordjs package dev release
status 2 messages
vital birch client.user.setStatus(PresenceUpdateStatus.Invisible); ^ TypeError: Cannot read properties of null (reading...