djs-questions

13317 threads · Page 28 of 267

Making a bot - COMPLETELY new 9 messages
ancient saffron have no idea where to start, i have a chatbase bot that works on chatbase (an ai website thingy) and i want to link a di...
Cannot run node.js 3 messages
primal radish Below is the error I’m getting when running node index.js “node:internal/modules/cjs/loader:1252 throw err; ^ Err...
node @discordjs package
Interaction has already been acknowledged 17 messages
blissful patrol Hi, I am making a Discord bot which utilizes interactions and message ids. Basically, whenever a message id is supplied ...
Following a tutorial from 2020 and unsure of how I'm supposed to define Intents. 29 messages
spring ingot I'm following this tutorial by Sethey17 to make a simple Discord bot for my server that would be able to bulk delete mes...
Discord.JS First Slash command guide not working 31 messages
tribal drum when I use the /ping command I get "The Application did not respond in time": I have deployed the deploy-commands.ts cod...
@discordjs package
Property 'SoundboardSoundCreate' does not exist on type 'typeof AuditLogEvent' 16 messages
buoyant maple ```ts if(untypedLog.action !== AuditLogEvent.SoundboardSoundCreate) return; // Property 'SoundboardSoundCreate' does not...
No response from node? 10 messages
neon tiger it just seems to terminate and end
node
Limits of Slash Commands 13 messages
analog dagger I was looking to Nekotina bot and I saw this bot has so many commands, even I think it reaches the limits of the slash C...
bug 2 messages
woven crescent Server Template says i have a template- but I don't.
Discord
select menu 7 messages
torpid horizon My interaction handler isnt working, giving the roles works but when I click the remove roles option to well obviously r...
Bot crashing after string gives role 23 messages
torpid horizon My bot crashes when a user tries to select a role from my string menu options. It gives the roles then crashes, if they ...
Mentioning commands that have subcommands. 2 messages
icy pine I have a question regarding how to properly mention commands that have subcommands in a bot. For example, I have a `/st...
node
how to use @silent (flag 4096) on a deferred interaction reply? 22 messages
halcyon rock Heya, I'm trying to make a silent message that has to be deferred (because it takes longer to finish). I am using the "f...
node
AuditLogEvent.ChannelUpdate getting logs for only 1 channel and not all channels 5 messages
cedar pewter ```js const guild_channel_update_audit_logs = await new_channel.guild.fetchAuditLogs({ type: AuditLogEvent.ChannelUpdate...
Getting ratelimit 16 messages
weary flower Response { status: 429, statusText: 'Too Many Requests', headers: Headers { date: 'Thu, 07 Nov 2024 12:59:51 G...
Ping 9 messages
sudden flax I'm starting over creating a bot, I do have a basic JS knowledge but not too much The point is that, while reading docs,...
Any1 knows why usedInvite is always false? 3 messages
orchid ruin This code runs every ready event: https://pastebin.com/Awhnep0C This code runs every guildmemberadd event: https://paste...
Html in Embed 6 messages
broken cave Is it possible to embed html in embed?
node @discordjs package
/level command 2 messages
thick minnow I have trouble with the library canvacord, please help me 🙏😭
Use an application bot slash commands in dms 54 messages
burnt epoch So basically I can use it anywhere but in dms for some reason
help me 16 messages
north shale i'm new and i don't know from where i can change the discord link for joining the server!?
@discordjs package
how to add dynamically data from sql to .addchoice() 10 messages
prisma shuttle ```js let serverNames = client.serverNames; console.log(serverNames) /* [ { name: 'CCS', value: '228b5e70-d891-4179-a...
@discordjs package
Google Cloud Run not logging into the bot 6 messages
proud peak Hello devs, I am using Cloud Run to run a Discord bot docker image built like this: ``` # 1. Build FROM node:20-slim a...
Read and scrapy an embed 9 messages
main loom hi , i'm receving an embed from another bot to my discord channel ( my bot is already inside my channel with all permiss...
HELP ME PLEASE 4 messages
node
Loading Files synchronously 5 messages
civic horizon Hello! I am currently making a slash command to load in a txt file and place the lines in an object and then manipulate ...
Multiple Embeds Being Sent 2 messages
last meadow Hi! I'm currently working on sending embeds but I'm having an issue where multiple embeds are being sent each time the ...
node
Slash commands not being created 43 messages
torpid horizon I have multiple slash commands that wont be create for some reason, and I have no Idea how to fix it, heres my code that...
Some problem that i have no idea about 3 messages
candid iron idk fr 😭
node
Obtaining Guild Name Doesn't Seem To Work v13.4. 8 messages
drifting fjord Hi, I have returned to a year old bot and it seems that a function about getting and listing all guilds isn't detecting ...
node
GuildMemberAdded not working 34 messages
rapid eagle ```ts import { Events, GuildMember, TextChannel } from "discord.js"; import Event from "../../classes/Event"; import Oop...
error 3 messages
hexed vortex soooo what is this
node
Stats command returning wrong member count after X hours 64 messages
mellow frigate ```js const promises = [ client.shard.broadcastEval(c => c.guilds.cache.size) .catch(error => { ...
node
What is the best way to handle components when they've been timed out? 6 messages
honest quarry Hi, I'm sorry, I've probably asked this question a long time ago but have forgotten the answer as it has been a minute...
@discordjs package
live updater 35 messages
shell vault i have some commands, and some of them creates embeds, but if the bot created a verify embed, then i update the bot, the...
@discordjs/opus 4 messages
somber vessel Hey, kinda new to voice stuff but, for a receiver. What difference does the `sampling rate` and `channels` make?
@discordjs package
@discordjs/opus 5 messages
somber vessel Hi, so from what I understood, this is more performant than OpusScript. I only need to receive audio too. When trying to...
node @discordjs package
trying making a bot that send custom message 30 messages
bleak thistle Hey im trying to make my first bot where it can send custom message but doesnt works no /text to see when i write it ple...
node @discordjs package
Bot not allowing me to do announcments 8 messages
celest karma When i do a announcment command it just says "failed to respond" or like "unable to do this command"
node
SelectedValue is not defined 5 messages
finite glen Heres the code:
commands 3 messages
cedar lintel The bot commands are no longer displayed
node
How do I check if the channel is a DM? 7 messages
hexed pike I've already tried channel.type, but it doesn't even register when i send a message in DMs, it does on servers
What's the ID of my created channel? 25 messages
hexed pike Continueation of <#1301877081629790238>. What's the ID?
How to create a channel 12 messages
hexed pike I want to create a channel
code problem 18 messages
hexed vortex i have this whole index file when i do a node index.js
node
Not getting hello @discordjs/ws 29 messages
rotund osprey identify payload: https://hastebin.abelpurnwasy.com/hejobegana.js dispatch event: https://hastebin.abelpurnwasy.com/yax...
@discordjs package
Looking to create a select menu. Where should I start? 13 messages
finite glen Please send a resource or a tip!
The requested module '../utils/formatTextWithStyles.js' does not provide an export named 'default' 8 messages
harsh hill Hey i have a problem with import a function my codes ```js import formatTextWithStyles from '../utils/formatTextWithSty...
node
Embed Builder Not Defined When Using BroadcastEval 52 messages
honest quarry I want to send a message with an embed to a channel that might be in another shard. How can I get Embed Builder or my o...
deno @discordjs package
"ApplicationCommandType.User" is not assignable to parameter of type "ContextMenuCommandType" 3 messages
dawn thistle I'm using discord.js with Typescript and I encounter the error ``TS2345: Argument of type ApplicationCommandType.User is...
node @discordjs package