djs-questions

13317 threads · Page 128 of 267

Bot doesnt respond after message 4 messages
No Members Shown 19 messages
Interaction has already been acknowledged. 3 messages
pallid helm https://pastebin.com/KWrPtFm4 Whenever I run this code, I get: `An error occurred: DiscordAPIError[40060]: Interaction h...
addMentionableOption restriction? 4 messages
orchid trail can I somehow do something like .addMentionTypes(Roles), so only roles are displayed when user is selecting in Mentiona...
Get date of last message/reaction (any type of interaction) in the server from a user 3 messages
bronze karma Hi, is there any way of getting the last message/reaction or any type of interaction with the server from a user in the ...
No Reply after Async Function. 15 messages
lean nest Have only made fairly simple commands in the past. First time trying to interact with other docker containers and such. ...
ported to v14.11 and sharding with "assigned" clients breaks. 4 messages
snow anchor I am porting from v14.6 to .11, and my test environment creates clients on separate shards to test that sharding works b...
Sending a user a DM 8 messages
topaz shale im trying to send a embed to a user's DM when they get a certain role. It use to work but now i get an error for line 11...
userse 23 messages
jaunty crescent Hello, what is the correct event I need to use in order to monitor a permission that changed on specific channel, for ex...
@discordjs package
Check if token valid 23 messages
vague tendon How can I check if a token is valid before trying to login? or maybe using the login function if that return a good erro...
DJs preemptively rate limiting? 17 messages
silk salmon I'm having an issue with rate limiting after runtime of a few hours. I am editing messages in a channel as a part of a ...
HOW TO ADD BOT ACTIVITY 4 messages
sinful rain ANYONE CAN HELP ME?
How can I handle unknown interaction errors? 3 messages
magic jasper I have a project that due to internet instability, the bot can receive an **Unknown Interaction** error and die. So how...
@discordjs package
code: 'ERR_SOCKET_CONNECTION_TIMEOUT' 3 messages
fair coral ``` node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */); ^ ...
Get member roles without member cache 2 messages
charred igloo so i have guild member cache disabled but i would like to get roles id array which is gotten from api once on a while if...
where can i ask about deploy without guild id? 6 messages
crystal linden i know how to deploy commands with certain guild ids. but i want to deploy it without guild id.
How can I fetch channel? 5 messages
small tide Message and channel
How can I fetch latest mesages on specify channel? 3 messages
small tide that's I want to do
Rate Limiting in detail? 9 messages
Use result of autocomplete focused option 1 to narrow down options for focused option 2 8 messages
delicate willow Hello, I'm trying to use the value/name of an autocomplete focused option (`interaction.options.getFocused(true)`) that ...
ES6 OR Common JS module 9 messages
opal scarab I have a confusion about which module i should use in developing a discord BOT. because Most of the tutors in youtube sa...
deferReply not working on specific server 52 messages
final fulcrum Hello. We are running a small hosting service for Discord bots but one of our servers can't execute `editReply` from DI...
Click Button Error 3 messages
near shale I dont understand why
typescript issue 3 messages
fallen crescent ```ts export type DiscordEventCallback<K extends keyof ClientEvents> = ( app: App, ...args: ClientEvents[K] ) =>...
Is it possible to require 1 or the other for slash commands? 8 messages
Keep getting Unknown Message on route: ButtonInteraction.editReply() 28 messages
winter knot Hey, So I'm using a collector and I'm getting Unknown Message on `ButtonInteraction.editReply()` But I'm not too sure wh...
2 instances 8 messages
Segmentation fault when try to send a image 20 messages
indigo rivet Hey, if i try to send a image whit this code, i get just the Error "Segmentation fault". No other Errors or Informations...
sharding across multiple cores 2 messages
untold cloud IIRC, Discord.js's native ShardingManager only distributes shards across a single core (as far as v14.11.0 goes). I've l...
'sharding is required' error, with sharding 13 messages
untold cloud recently upgraded to the latest version of discord.js. using the default ShardingManager that djs offers, but when I sta...
Discord.JS Failing to Cache Guild Members 3 messages
olive dagger I'm running the latest version of Discord.JS. The Guild I'm trying to get the members for shows as having 104, which is ...
Interact with button 8 messages
Failed to compileModule not found: Can't resolve 'zlib-sync' 3 messages
vague tendon getting this error when just doing ```import { Client, GatewayIntentBits } from 'discord.js'``` which is weird cause i t...
debugging discord bot 18 messages
serene reef why doesn't this work? i get a connection success message, but when I type anything in the server, nothing gets picked u...
TypeError: response.createMessageComponenttCollector is not a function. 8 messages
urban nimbus I'm following the message components guide and get this error when sending my slash command. (I also get an error "Inter...
shard exiting before the client is ready 34 messages
daring blade ``` error 1: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for C:\Users\user\Documents\GitHub\Neb...
Random Sapphire Error of a "ValidationError: Expected a string primitive" relating to DiscordJS REST 48 messages
shut quiver ```ts import { CacheType, ChatInputCommandInteraction, SlashCommandBuilder } from 'discord.js'; export default interfac...
<Collection>#get not documented? 25 messages
feral olive Why is the `<Collection>#get` method not documented? I would assume its because the documentation generator isnt listing...
@discordjs package
message.channel.parent undefined in forum channel? 12 messages
amber abyss I'm getting an error where message.channel.parent is undefined. My intention is to cross-check the forum channel in whic...
Voicechannel.setName not working 10 messages
echo osprey I have a bot which changes the name of a voice channel according to activities. Problem is that it won't work after the ...
@discordjs package
creating a forum post 20 messages
light kettle how do I create a forum post fin a specific channel? (Where do I put the id?)
Invalid Intent? 4 messages
buoyant oyster The code, ```js const client = new Client({ intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.G...
Impossible to rollback to older Discord.js version ? 7 messages
torn topaz Hey ! I updated and ran my bot to 14.11.0 but there seems to be issues where my shards are respawning even though I put ...
Error: Expected at InstanceValidator.handle 4 messages
urban nimbus I get this error when running my discord.js bot. Source code: https://replit.com/@linusbw/fiesenheld#bot.js Stacktrace a...
Is it possible to register a single command instead of all of them at once? 15 messages
finite mulch s
[FIXED] Max Number of Daily App Command Creates Reached 72 messages
mighty glade Error as title shows but I've never created any command? Just finished following the guide so I'm confused
Discord
Username update [UPCOMING] 3 messages
plucky pond will stuff like `interaction.user.tag` be removed?
import axios from 'axios'; 2 messages
User Linked accounts 7 messages
hardy heath I've been trying to find a way to get the user's linked account username (basically seeing if there's a twitch account l...
Unknown interaction for some commands in only one server 10 messages
queen summit I have a bot that is sharded and is in a couple thousand servers and for some reason, in one server whenever a command i...