djs-questions

13317 threads · Page 103 of 267

Invite a Guest 3 messages
restive thistle I was just wondering if discord.js has a method for inviting a guest to a specific discord voice channel yet.
AbortError 2 messages
sleek shuttle Sometimes i get this error message, i want to know why this error occurs and how can i solve this ```AbortError: Request...
@discordjs/opus issue when rebuilding for electron 5 messages
bitter steppe ```javascript const { OpusEncoder } = require('@discordjs/opus') ... /* decode raw OPUS packets into raw PCM/interleave...
Discord refusing to add user to channel when channel is moved to another category 8 messages
silver totem Im honestly not even sure what to do anymore iv tried a lot of different methods and none seem to work. In short i have ...
Slash command channel types 7 messages
queen glen Is it possible for me to filter out channels that are shown in the options by type. Here's my code: ``` .addChannelOptio...
Start Error: "The user aborted a request" #9804 7 messages
loud elm Hey guys. From yesterday to today, my bot started having problems starting. I read about it and maybe it's because Disco...
how can filter roles by bot role in guild 6 messages
severe rivet Hi I want filter guild roles by bot role in guild
why am I getting those errors? 10 messages
woeful osprey all I have in code is this: ```const { Client, GatewayIntentBits } = require('discord.js'); const intents = new Gatewa...
Updated my bot to the latest version of djs 40 messages
dense kernel TSError: ⨯ Unable to compile TypeScript: src/Commands/Developer/emit.ts:56:27 - error TS2339: Property 'getString' does ...
info in component custom id 7 messages
crystal forge Is it good to store some info in component's custom id? For example: I create a button with custom id: `acceptInvite:123...
interaction as user 4 messages
broken dagger Hello, To automate tasks, i would likte to use command slash interaction as my user account. Is it possible after it to...
@discordjs package
Error with Ping command 34 messages
balmy nymph I made a ping command and wanted to go a little further. I wanted to display the bot's ping by executing /ping, but it's...
embeds 16 messages
flint anvil defaultAvatarURL is used for the dafault icon right, how to get the current avatar?
Handle button press without interaction 4 messages
glass tulip I want nothing to happen in the discord clientside after a button press, no followUp, no editing that is visually seen, ...
Detect replies and edit own message 8 messages
red gyro Can I make my bot detect when a user is *replying* to it and then update the message that was replied to? I have a bot ...
Building and running create-discord-bot causes an error 3 messages
spare cedar After some latest commits where crawl moved to picocolors which uses commonjs modules, running built file causes the err...
@discordjs package
Duplicate messages in multiple shards 2 messages
viscid sphinx ``` ws.on('message', async function incoming(data) { const object = JSON.parse(data); let channel = a...
I know the issue but not how to fix it 6 messages
torpid holly ```js File name 'c:/Users/cmart/Desktop/Discord Bots/Sapphire/src/Schemas/Errors.js' differs from already included file ...
quick question about module.export aliases for commands 7 messages
random terrace i have this command with aliase being 'cam' short for campaign, but i have another command that has an aliase 'c', yet d...
Discord.js 2 messages
late verge Interaction has already been acknowledged.
This Library Is Not Handling Member Joins 5 messages
earnest star I've a problem with my member join event handling, by which it only executes after the first member join, but it don't c...
Slash Command redirect 22 messages
hollow mural Hi folks. Looking to create a slash command, that could allow the user to be redirected to an external url in their brow...
ExpectedConstraintError: Invalid number value 8 messages
grand pier Even I can't figure out what he doesn't like
Cannot read properties of undefined (reading 'GuildVoiceStates') 29 messages
random sonnet Cannot read properties of undefined (reading 'GuildVoiceStates')
Guild Member cache doesn't contain all users 16 messages
terse swift Hey, I'm not too sure why but when I check the member cache of a specific guild, I can only see 1 user (My bot account i...
How do i make a disscord bot cmd 10 messages
strange nova How do i make a discord bot cmd??
Streaming external websocket backend state to a discord channel 32 messages
glass tulip Hey I have a discord bot that is connected to a separate websocket backend with WebSockets. I want the bot to show the ...
Dynamic options for a slash command? Wizard-esque UI 4 messages
kind fog is it possible to create a slash command that uses a technique similar to Autocomplete for the subsequent arguments (opt...
discord payment system / integration w/ tap n go? 3 messages
faint marsh Hi wondering if discord-js has payment system bots or api. Possibly integrated with tap n go or a tap to pay type system...
@discordjs package
Attach files with @discordjs/rest 14 messages
clear oak How do I attach files and send POST it to channel message endpoint properly?
@discordjs package
Mongoose.find not working in comparison of an array item despite every piece of information matching 8 messages
Receive webhooks without setting up the server 3 messages
deft smelt Is it possible to get webhooks without setting up an extra server, etc.?
dev release
Discord.JS Temporary ban 4 messages
still sedge Hello, is the new Discord temporary ban system available on DiscordJS v14?
Error 50013 thrown when giving and removing roles 25 messages
next jay Heyy so I'm getting started with discord.js and created a command that *should* give and remove a role depending on whet...
Enabling / commands 44 messages
vale garnet Hi, I'm trying to enable slash commands on my bot. I set a prefix variable in index.js and the value is "/". However, af...
Mysterious modal error that's got everyone puzzled: Cannot properly serialize component type: 17 messages
ionic iris I am using `[email protected].` I copied this example from discordjs.guide, and simplified it a bit, though the error h...
giveaway bot 6 messages
bleak dew Tại sao số lượng người tham gia không được thay đổi?
How to close scene? 3 messages
grand pier so createStageInstance creates a scene, as I understand it now, how do I close it, I disconnect the bot via connection.d...
Optimizing Image Processing, Storage, and Strategies to Prevent Alts and Botting: Seeking Advice 2 messages
misty cargo Hello everyone! I'm seeking insights on optimizing image processing for my application, focusing on simple image editing...
Why isn't my bot restarting? 2 messages
frigid mantle It returns error, however it doesn't log it in console as im using PM2. Full code: https://pastebin.com/7jxNL0YS
Is it possible to make a bot that opens the stage and starts performing? 33 messages
grand pier Is it possible to immediately make the bot connect to the scene by ID and immediately open the scene with the specified ...
Fetch the user who deleted the message 30 messages
granite flint As the title mentioned, I'd like to know if there's a way to do that through **onMessageDelete**
Use `client` in multiple files? 44 messages
warped kindle Hi! I'm pretty new to d.js but have a question regarding whats common practice. I define my `client` in `index.js`, but ...
How to `update() ` the same interaction multiple times? 19 messages
fringe perch So I have this simple slash command that sends 3 buttons: `hello`, `hi`, and `wassup` ```js async function execute(inter...
getting message.author esque information 7 messages
random terrace weird question i know, probably phrased weirder too, but I'm trying to get this information in the screenshot im sending...
I don't understand what's going on 6 messages
echo iris I'm trying to create a slash command, but every time I try I get the error shown in the screenshot below. Discord.js v...
dev release
help with economy commands 6 messages
lost magnet i added a `buy` and `inventory` command to my bot and bot work fine, but i wanted to know how i could make it say the am...
DiscordAPIError[50035]: Invalid Form Body 12 messages
limpid kestrel ``` const menu = new ActionRowBuilder<StringSelectMenuBuilder>().addComponents( new StringSelectMenuBuilder() ...
throw er; // Unhandled 'error' event 6 messages
velvet latch how can i solv this? node:events:492 throw er; // Unhandled 'error' event ^ ReferenceError: channel is not...
Is it possible to send a message later so that it is sent as if it was sent by the user? 8 messages
grand pier for example, when sending a message from the bot message.channel.send , change the avatar and nickname somehow and send ...