djs-questions

13317 threads · Page 149 of 267

token not found 4 messages
spiral steppe when i try to register the commands it says token not found but i already put my token in .env
TypeError: channel.isText is not a function 7 messages
fallen dome Hello, when I click on a button i'm getting this error "TypeError: channel.isText is not a function" not from my code bu...
commands not working 13 messages
spiral steppe when i register the code it is fine but when i try -ping the bot dosent reply with pong
channel.isTextBased on 14.8.0 8 messages
Format error preventing use of Music commands 8 messages
flint onyx I'm returning the error (below) when trying to run music commands: code: 50035, status: 400, method: 'PUT',
Not launching 25 messages
fluid rose Hey i was wondering why i cant activate my bot
Not Delete Message on slash command 8 messages
gilded berry Is it possible to make command usage with slash not delete the actual command message by the user?
client does not register new commands 24 messages
young solstice discord does not register new commands for some reason on my bot, im using 14.7.8 in this function i put everything that...
Same post after updating discordjs channel.isText 8 messages
grizzled delta Hello, I updated and uninstalled the node package as well as discordjs to reinstall everything and nothing changes, it b...
channel.isText not a function 3 messages
formal bolt Hi guys l have a problem in my bot. All the time the bot worked well, but an hour ago there was such an error in the con...
Typescript or Javascript 4 messages
unreal glade Hi guys, For those of you who use the Discord library, is it more comfortable to program with JS or TS? The truth is tha...
importing discord.js with ES module syntax 12 messages
sinful thunder I'm using scripts that use the newer ES6 modules and type:module in package.json. I've tried several ways to import dis...
DiscordAPIError[50001]: Missing Access 3 messages
spiral steppe so when i try to register / commands it says DiscordAPIError[50001]: Missing Access
threadUpdate 15 messages
night needle Code: ```js if (newThread.parentId === '1083539122083352589') { if (!oldThread.appliedTags.includes(...
how to remove tag from thread? 17 messages
night needle ^
RangeError [BitFieldInvalid]: Invalid bitfield flag or number: GUILDS. 60 messages
@discordjs package
cache 5 messages
crude junco discord v14.7.1 guest is the id of the user and a target user, trying to find if the target has the role taehyung rem...
Suddenly I got this error on every Interaction 15 messages
topaz kraken About 1 hour ago this error don't even appears, idk what's going on, I'm in `Discord.js v13.8.0` (Yes, I know that I hav...
Invalid Form Body Error 13 messages
**After Updating to 14.8** Getting an error 'Unable to Convert Colour to Number 4 messages
dapper iron ├── @discord-player/[email protected] ├── @discordjs/[email protected] ├── @google-cloud/[email protected] ├── [email protected]...
Getting following error 3 messages
vast cloud ```js if (channel && !channel.isTextBased()) return; ^ TypeError: channel.isTextBased i...
TypeError: channel.isTextBased is not a function 3 messages
uncut tundra When executing an interaction it gives an error inside discord.js saying that it is not a function **channel.isTextBased...
dev release
New error magically appeared xD 51 messages
lucid parrot About to 40 minutes ago my bot crashed with a very uncommon error. Then tried to restart it and now it keeps crashing wi...
Differentiating between rate limit and sublimit on crossposts 14 messages
grizzled rune - What is currently happening: whenever a message is crossposted and the channel passed the 10 messages/hour limit, they...
channel.isText is not a function 3 messages
rare sapphire i need help
getting - token invalid 25 messages
tired cobalt Hey there. I'm installing my first bot and getting error. I took token from discord dev portal, in bot tab, of my my app...
help me please: 43 messages
uncut finch src is it
dm error handling 7 messages
formal snow ```js let errorMessage = 'Successfully submitted.'; if (desition) { applicant.send(autoApplyChannelData.acceptMessage)...
Bot key authentication 4 messages
fallen edge okay i have a bot, that checks if the user doing the !download command has a key, if not it creates one in keys.json, so...
module not found 7 messages
spiral steppe module not found everytime i do node scr/register-commands it says module not found
reading guilds error. 5 messages
terse cape hi, i faced this error when i want to run my bot: ```Cannot read properties of undefined (reading 'Guilds')``` and its t...
`message` argument doesnt work. 5 messages
sudden creek HI, I am following the discord.js guide and i am trying to get the MessageCreate event to work. event_registry.js ```ja...
how to make the button work even i restart my bot 10 messages
leaden hazel how to make the button work even i restart my bot i mean when i create a button and click on it , it works but qhen i re...
closing a DM channel between bot and user 25 messages
wicked sphinx I guess that some context will be in handy here: i have an application bot that goes into peoples DM's, asks them quest...
Can I CrossPost a webhook? 3 messages
magic basalt title
module_not_found 38 messages
spiral steppe so everytime i do nodemon it says module not found
what's the boolean in Client<boolean>? 7 messages
silent bay i'm using typescript and i see that Client is a generic type that takes a boolean (sub)class what can i do with that?
DiscordAPIError [50035] Invalid Form Body 13 messages
stiff rivet Completely new to Discord.js v14 and I'm completely lost. Is anyone able to look over my code and tell me if I'm on the ...
Slash command working locally but not when hosting 2 messages
ivory sable /Sound is working in local but when deploying i'm getting this error ``` /home/fgqnfdxm/nodevenv/ETIC-BOT-2/16/lib/node_...
Get user from just user ID? 4 messages
jagged flame Im stuck on the correct logic to get the username and discriminator of a user just from their ID. I found this on stack...
when i try to start my bot i get this message 33 messages
haughty canopy Waiting for the debugger to disconnect...desktop\desarrollo\mybot.js:2 const client = new Discord.client(); ...
Destroying webhookclient 2 messages
How can I detect that the message is ephemeral message? 19 messages
small tide Same
ThreadUpdate 10 messages
night needle ```js const inactiveThreads = await threadchl.threads.fetchArchived() inactiveThreads.threads.forEach(asy...
Monitor or Log Channels & Roles 16 messages
vagrant canyon Is it possible to monitor throught and event or getting the list of people choices ?
threadUpdate 3 messages
intent error 11 messages
tired cobalt Hey. I'm trying to fix my code, but all time getting intent error. Hope it's ok, to ask programming questions here... Bo...
discord bot redirect URi? 3 messages
tired cobalt Hey there. I got really big issue with inviting my bot, to my server.... Why do i need some auth, if i only will use bot...
can we make sort of commands with Djs which can be work like a reminder or something 5 messages
sick trellis I am looking for the functionality where we can send chats or announcement in future using time or something i excuse if...
My bot send's messages in loop 9 messages
tepid sun ```javascript const { EmbedBuilder, ButtonBuilder, ActionRowBuilder, ChannelType, PermissionFlagsBits, SelectMenuBuilder...