djs-questions

9202 threads · Page 33 of 185

How can I ban people with my bot who are outside of the server? 4 messages
hot bison I’ve managed to do a guild command but I cannot manage to make it so I can ban people outside of the guild, how do can I...
1150878580193116250
Trying to get custom set permissions for commands in a Guild. 9 messages
shy lynx I have defined (<https://github.com/NanoAi/discord_bot_snail/blob/main/src/index.ts#L71>) commands that should apply glo...
1150878580193116250
Request error unknow message 10008 but my code isn't related at all to this 13 messages
brisk valve i'm send the vanity-url request but i get à 10008 unknow message errur what the heck?
1150878580193116250
Command dissapears 19 messages
deft citrus Hi there so I have this little issue with one of my new commands some useless background information. My bot is hosted ...
fetchRecommendedShardCount 10 messages
warm bay I want to know how this works, since `shard_id = (guild_id >> 22) % num_shards`, hinting that we can't anticipate `guild...
998292157150535700
I have an error that I cannot solve. 64 messages
sullen merlin So I have a warn.js file that has an error. The file is https://sourceb.in/6Hrc2IpLUt and the error is: TypeError: Canno...
App didnt respond 7 messages
slim hemlock ``` async function handlePtMake(interaction) { try { const attachment = interaction.options.getAttachment('f...
Bot disconnects when it's dragged to different vc 6 messages
stone thorn I'm changing vc of my bot but it immediately disconnects after rejoining... how should i fix it ? I have enabled `Gatewa...
998292157150535700
How to handle sub commands? 10 messages
pastel shale attached are the code for my command handler and the error. It happens when it tries to pass a new command through the h...
1150878580193116250
registering commands 32 messages
solid arrow I'm trying to create a script that registers commands globally but it doesn't work
1150878580193116250
Premium Button didn't work 6 messages
keen glacier Hi, there, First of all, I haven't found any documentation on how the Premium button works. Secondly, I have a problem...
Command Not Reloading 26 messages
quiet crown Hey, I'm having an issue where, after using the reload command the bot is still referencing the old message. although wh...
1150878580193116250
Searching discord.js Documentation 10 messages
wary grail I'm trying to make a slash command to get documentation on specific topics on discord.js, however I don't know how lol ...
1150878580193116250
Discord permissions 3 messages
fleet marsh which permission members need to use button on embed message in forum type text channel?
Error in Ticket System MongoDB database log 28 messages
dusty sapphire hi, I had an error with my code that happens when I create a ticket, it is supposed to listen, wait and log the messages...
Client won't start 210 messages
brazen condor I added client.on('debug', console.log), and this is what I get: ```[WS => Manager] Fetched Gateway Information ...
shardList does not work on my app 16 messages
torpid topaz I have an app with 28 shards, but i want to manage only 10 shards per host, i already set the shardList option but when ...
1150878580193116250
File Sending 3 messages
jagged yarrow ```js const transcript = await createTranscript(interaction.channel, { fileName: `transcript-${interacti...
1150878580193116250
bulk file downloader 3 messages
granite urchin ok so i dont really know how to explain this but heres what i need help making, this is not for a bot i would like someo...
1150878580193116250
How to kill a shard and prevent its auto respawn functionnality? 31 messages
shell anchor Hello, I m using the ShardingManager and I want to know how to prevent the shards you kill with shard.kill() to automa...
1150878580193116250
missing permissions error code 50035, 10 messages
opal wing https://www.reddit.com/r/discordapp/comments/12164il/my_discord_bot_keeps_crashing/
Invalid bitfield flag or number: undefined. 41 messages
opal wing WHAT DOES THIS EVEN MEANS
can send normal message but cant send embded message 22 messages
opal wing ```js try { // Send DM to the user with the LeetCode question await member.user.send( `You have been timed...
ping discord 34 messages
devout adder how do i access discord api ping? code that i tried ```js const { Client, SlashCommandBuilder, WebSocketManager } = requ...
Error Adding Buttons To Message 11 messages
safe zealot I am working on creating an application system for my Discord server, but that is irrelevant to the issue. I am trying t...
unable to send message in channel 12 messages
opal wing ```// Send DM to the user with the LeetCode question await member.user.send( `You have been timed out in ${mem...
Message collector not working 8 messages
small steeple I'm configuring my bot so that it will respond to the slash command `/validate` by creating a new thread and asking the ...
others unable to see slash commands 30 messages
opal wing well i want so when someone execute a slash commands other can also see it but in this case only i am able to see it ``...
Discord Bot broken 3 messages
quiet burrow Does anyone know what the issue is and how I can fix it?
buffering timed out after 10000ms 18 messages
worthy orchid please help its showing me this how to fix all of this
1150878580193116250
integrating modal and context menu 4 messages
untold horizon how do i get the text input field value from a modal and pass it to a context menu interaction which raised that modal?
how do i send a private message via @discordjs/rest 6 messages
hazy widget Sorry i couldn't find any route for that
998292157150535700
Using napi-rs canvas library and failing to troubleshoot consistent memory leak on a file 3 messages
thorn kestrel The handleBoosterInfo function is holding onto memory consistently and not letting go. I have tried manually putting in ...
1150878580193116250
error when trying to add a button to a message 2 messages
safe zealot heya, i am trying to make an application system for my discord server. i am trying to add an action row with buttons, bu...
Retrieve the author of a voice disconnect 8 messages
full pulsar Hello, After a lot of trouble, tests of all kinds, I still can not determine if a user was disconnected by someone, or i...
1150878580193116250
Cheapest way to do persistent, modifiable memory in real time without a database? 9 messages
prisma lodge I'm using a small bot for just me and someone else for TTRPG shenanigans, and I want to track things like enemies in an ...
Strange role tagging @everyone 38 messages
vast moon I keep getting this strange @@ only in my everyone tag, can someone help me?
1150878580193116250
Help Needed with Discord Bot Error: Token Unavailable to Client 12 messages
plush mango Hello, I’m encountering an issue with my Discord bot script. The bot logs in successfully but fails to send a message t...
Welcome message 16 messages
hoary cape I've created a welcome command that i can do /welcome channel and then in that channel everytime someone join the server...
1150878580193116250
Max Event Listeners 2 messages
kind canopy Hello, quick question. In my discord bot, I have several modules where some of them use a seperate ready event file. I'm...
discord dashboard and discord js combo 62 messages
exotic marsh What i normally do is, i got a protect middleware that runs on each request. What does the middleware do? - it checks ...
how can I fix my bots latency? 4 messages
hot bison How can I improve my bots latency, it’s averaging about 600ms and it would be nice to be lower (sometimes goes up to 500...
interaction.channel.guildId undefined after ephemeral reply 8 messages
livid cape Hello, I've been having an issue since updating my script to v14.16.1. The issue seems to be that responding to interact...
permission to list members of server 3 messages
signal knoll permissions to enable to be able to fetch all members of a server
1150878580193116250 998292157150535700
Do we use the new discord emoji the same way as emojis 3 messages
gleaming copper Do we use the discord emojis the new thing they added to the developer portal as a regular emoji or a different way
guild.members giving only 1 member and the bot itself 5 messages
signal knoll Guild.members gives only one member and the bot itself and when another member sends message and api call is made again ...
1150878580193116250
Message to embed 3 messages
winter hornet I am trying to make a command that takes raw json as a message and converts it into an embed. I'm not sure how to get th...
1150878498534199426
lost "view message history" function after receiving new role in community 2 messages
vapid pebble Our community has 4 roles. - Initial: I had 2 roles: A and B (knowing that A < B, B has more functions and includes fun...
1113356221962010634
app showcase/share channel 5 messages
tropic forum Could someone point me to the channel or server where we can publicly share our discord app?
Is there any alternatives to canvas 6 messages
gleaming copper i need an alternative for canvas