djs-questions

9202 threads · Page 27 of 185

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
1150878580193116250
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.
1113356221962010634
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 ...
javascript vs typescript 1 messages
buoyant burrow Which one is best for discord bots? Javascript or typescript
1150878580193116250 998292157150535700
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...
1150878580193116250
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...
1150878580193116250
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?
1150878580193116250 998292157150535700
/level command 2 messages
thick minnow I have trouble with the library canvacord, please help me 🙏😭
Use an application bot slash commands in dms 34 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!?
998292157150535700
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...
998292157150535700
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 8 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...
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 ...
1150878580193116250
Slash commands not being created 42 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 😭
1150878580193116250
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 ...
1150878580193116250
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
1150878580193116250
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 => { ...
1150878580193116250
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...
998292157150535700
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?
998292157150535700
@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...
1150878580193116250 998292157150535700
trying making a bot that send custom message 29 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...
1150878580193116250 998292157150535700
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"
1150878580193116250
SelectedValue is not defined 4 messages
finite glen Heres the code:
commands 3 messages
cedar lintel The bot commands are no longer displayed
1150878580193116250
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 17 messages
hexed vortex i have this whole index file when i do a node index.js
1150878580193116250
Not getting hello @discordjs/ws 29 messages
rotund osprey identify payload: https://hastebin.abelpurnwasy.com/hejobegana.js dispatch event: https://hastebin.abelpurnwasy.com/yax...
998292157150535700
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...
1150878580193116250
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...
1150878890307358882 998292157150535700
"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...
1150878580193116250 998292157150535700
retrive user gaming activity history? 3 messages
crisp gulch Hello, is there a way to retrive a user gaming activity history without building a DB? I can get game from when 'User is...
using SlashCommandBuilder in Constructor 20 messages
ivory roost Hey im updating my old discord bot to v14 and used the slashcommand builder in a constructor after updaing it does not w...
998292157150535700
Track invite origin 20 messages
chrome meadow Hello developers! I am trying to set up a tracker for different invite sources for my bot but I keep getting a `Missing...
Can i get sponsor role? 2 messages
hoary flax I have sponsored for a month, but i don't get any role ;-;.
998292157150535700
Roles Cache sometimes inconsistent 11 messages
barren pebble I got very simple code ``` const role = channel.guild.roles.cache.get(pingRoleId); size = role?.members?.size ``` And t...