djs-questions

9202 threads · Page 102 of 185

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...
998292157150535700
Attach files with @discordjs/rest 14 messages
clear oak How do I attach files and send POST it to channel message endpoint properly?
998292157150535700
Receive webhooks without setting up the server 3 messages
deft smelt Is it possible to get webhooks without setting up an extra server, etc.?
986538542350086175
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 `discord.js@14.13.0.` 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? 43 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...
986538542350086175
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 ...
Something with BitFieldInvalid error on my bot. 15 messages
velvet latch i am trying to solve this problem, he start about 1h ago /Users/macbookdrink/Desktop/Astarion-Bot/node_modules/discord....
Issues with sending embeds 57 messages
whole veldt Hi, I have a discord bot which sends DMs directly to users (for notifications) including an embed, recently, ive done an...
how do I set the send Typing() timeout? 16 messages
grand pier I have a bot that sends a response to requests for a long time, I would like send Typing to work until the bot responds,...
Audio Not Playing 7 messages
magic zephyr Discord JS Ver 14.13.0, Voice ver 0.16.0, Node 16.14.0 The bot joins the channel that I am in, however it doesn't play ...
998292157150535700
A certain command crashes the bot. 4 messages
formal creek Logged in as The Bretain#4008 Connected to MongoDB Registered global application commands: travailler, balance, givebadg...
my bot cannot be connect to discord 39 messages
twin comet I am doing my first bot, and my first command, but my bot do an error when i execute my command
Voice self-disconnect not working with Lavalink 153 messages
tender maple Hello, I am making a new version of my music bot using Lavalink. Everything works good but something strange happen. I t...
New application commands not appearing. 5 messages
formal creek i've recently added new commands to my code and it doesn't appear on discord. I did restart the bot, I restarted my disc...
TypeError: client.handleEvents is not a function 20 messages
last wagon Only lately stopped working, Worked perfectly fine before unsure whatd going on.
shard error 1 messages
jovial moon ```Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready. at Shard.onDeath (C:\code\nod...
emoji 3 messages
open gale Why did the emojis become like this? The bot owner has join the server that has the emoji.
How can I pull which invite the user used to join the discord 9 messages
nimble wolf code invite
How to get messageID of message with button components 2 messages
inner rose Hey so I have a message sent with 2 button components, and when I press the button I want to get the messageID of the se...
Application commands not registering 16 messages
gusty harness For some reason my application commands haven't been registering lately. No errors, the call to `rest.put()` just never ...
Get formatted error from CombinedPropertyError 2 messages
crystal crag Is there a way to get the pretty formated text from a CombinedPropertyError (or the errors that come when you make, for ...
MessageCreate -> message.reply({.... 9 messages
willow flame `await message.reply({ content: 'Please only send an image, or create a thread to reply to the picture!', ephemeral: tru...
998292157150535700
Invalid Form body 73 messages
last wagon ```js await rest.put( Routes.applicationCommands(BOT_ID), {body: client.slashCommands}, );...
Error: ENOTDIR for no reason 33 messages
hybrid palm index.js file : ``` const fs = require('node:fs'); const path = require('node:path'); const { Client, Collection, Event...
Resend Messages in Another Chat 7 messages
viscid mist Hey! I'm having a problem downloading and uploading videos. This is code that saves an attachment in a buffer and sends ...
embed with copy bar 3 messages
prime lotus how to make these?
Reference Error. 6 messages
last wagon There is an issue in my command handler and no matter what I change it won't work. Code and Error Is attached.
Is there something like a "converter" to update old Discord.js? 2 messages
night hemlock I have discord.js 12.5.3 and I want to quicken the process of updating, is there something that can do this automaticall...
Would it be possible to make this have a generic type? 11 messages
arctic siren ```ts export function generateActionRows<T>(buttons: ButtonBuilder[]): ActionRowBuilder<T> { const actionRows: Actio...
Code Not working 52 messages
plucky moat ```js const Discord = require('discord.js'); const client = new Discord.Client({ intents: { typing: false, pr...
How do I create buttons under messages? 6 messages
grand pier I have a message how to link buttons to it? I understand MessageActionRow, Message Button, Message Embed are outdated ``...
Custom Status 2 messages
gloomy flame Does the custom status support button ect like User's Custom Rich Presence?