djs-questions

9202 threads · Page 96 of 185

Getting this error a lot on my self host PC 12 messages
hybrid sonnet `node:internal/process/promises:288 triggerUncaughtException(err, true /* fromPromise */); ^ Co...
1150878580193116250
"Supplied parameter is not a User nor a Role", but it is? 1 messages
dusk raptor I'm running this code: ```js // Make Visible to Claimant Only await channel.permissionOverwrites.create([ ...
Security actions implemented, yet? 4 messages
fickle spear Is this feature implemented to DJS? I didnt find it, so im guessing no, but im a blind dummie
Bot not replying 8 messages
astral basalt Hi! My bot is not replying. Message intents are enabled, I used a tutorial from a year ago and haven't been able to find...
mongodb error 2 messages
vital birch events/messageCreate.js ```const { Events } = require('discord.js'); const model = require('../schema/profileschema') m...
How do I fire an event once a rate limit has been reached? 1 messages
oak vigil *I'm aware that discord.js handles right limits, but I want to be sure that it doesn't change the channel topic, because...
How to make the bot perform something every 10 mins? 13 messages
marble inlet How to make the bot do something every 10 min, such as updating the channel name, as a user counter
1150878580193116250
Can't Edit Message in DM 3 messages
gleaming schooner I can't edit a message in DM Code: https://pastebin.com/PQ2n0gvZ Error: https://pastebin.com/MZcrkSzP Obliviously t...
How to send a DM to a specific user id on a sharded bot? 23 messages
whole veldt I need to send a DM to a specific user id on my sharded bot, how do I do this?
Cannot edit interaction after modal input 66 messages
sand ravine Ok so here is my problem, I want to achieve something like so: Step 1: send interaction with button Step 2: user clicks ...
998292157150535700
DiscordAPIError[50007]: Cannot send messages to this user 3 messages
onyx wasp So i made a bot that reads messages and deletes them when there is a specific word in them. and after that i want to sen...
1150878890307358882
button not being added 3 messages
torpid holly .
Separate content into pages 2 messages
graceful lodge lets say i make an api call and it returns a massive paragraph which i would like to put in an embed with different page...
Awaiting component interactions in Discord.js and optimization concerns when scaling up 7 messages
mossy tapir Hey! I have a concern regarding awaiting components when serving a large amount of users. I am building a bot that is a...
1150878580193116250
Why am I getting this error? 26 messages
smoky stag ```=== UNCAUGHT EXCEPTION MONITOR === === UNCAUGHT EXCEPTION === Exception: TypeError: channel.isText is not a functio...
998292157150535700 1150878580193116250
Role in SlashCommand showing @Undefined 3 messages
edgy fox I'm making a slash command where role is a required parameter but when I try using it, it is auto filled with @ Undefine...
Interaction Managing Duty 31 messages
mild sage Hello, i'm making message & interaction manager system and got wonder why the interaction should requires to edit/add/re...
1150878580193116250
Using @discordjs/rest to make requests using Bearer access token 7 messages
fervent ridge Is it possible to use the rest functions to fetch data for users with their OAuth access_token? Currently I've tried th...
1150878580193116250 998292157150535700
Unknow Interaction 12 messages
mental goblet idk why when i try use Translate or other cmd its work like second picture, but I always got error like first picture, i...
Using the base command and the subcommand as well 4 messages
autumn cove Hey! I am currently migrating an old bot to use slash commands but I am currently stuck with the following issue. I am b...
New DJS 22 messages
bright bough Hey, I just put in all the coding information from the github and followed the documentation.. My index.js and deploy-co...
998292157150535700
Mass Dm mention bot 17 messages
mortal otter Hey I want to make a bot that mass dm everyone on my server I have a server which sell courses ( E-commerce) and I need ...
Getting an error when deploying commands 16 messages
ashen topaz Error Message: ``` Started refreshing 13 application (/) commands. DiscordAPIError[50035]: Invalid Form Body 10[APPLICAT...
Error While loading prefix commands 34 messages
craggy ferry Greetings Devs and Staff Members I am trying to make some prefix command. But I am Getting this Error I tried to look a...
Edit message in thread 5 messages
edgy fox I'm trying to edit a message inside a thread, I've channelID(Contains thread), threadID(Contains message) and messageID,...
Node js not starting 58 messages
fair gulch Hi, sorry if I do something wrong but I'm really new to this world. My problem is that I made a code for a bot in Visual...
1150878580193116250
Unknown interaction error when responding to RateLimitError 13 messages
shrewd lintel So I've been running into this very annoying `Unknown interaction` bug, randomly triggering when I get rate limited on c...
1150878580193116250
Cache Sweeper 53 messages
icy stag Hello, I wanted to know why, even with these cache sweepers, my ram usage continues to increase as the bot's uptime incr...
Learning - Good after? 1 messages
bright bough Hey! I'm currently taking the full Java script course with the Pro membership on codeacademy. If I finish all the projec...
1150878580193116250
Unable to use updateMessage() on a message that has already used updateMessage() 7 messages
sand ravine So I have this modal that when it is submitted, it modifies the message that had the button to show the modal to say "Lo...
998292157150535700
Error running a select menu inside a modal (not sure if that's really the issue) 4 messages
sand ravine I have this action row with a text box and a select menu which i put inside a modal that is activated with a button: ```...
998292157150535700
Says that interaction.isChatInputCommand is not a function 12 messages
onyx wasp so this is my code ```ts import DiscordClient from "../utils/client.ts"; import Event from "../utils/structures/Event.ts...
1150878890307358882
Mongo DB creating more than 1 collection when not being called. 2 messages
hard lintel I made a command verify and all I call is users if there is no member data then it creates a new member data under the U...
Bot presence not updating 17 messages
brave pewter code: ```js client.user?.setPresence({ status, activities: [ { ...
webhooks again 19 messages
hybrid sonnet Hello dear fellow helpers... i would like to ask another question related to it ## Context A while back I learnt about ...
Ban command 17 messages
uneven wasp I seem to be having this issue when trying to ban someone outside the server I have been trying to find a way to ban out...
Automod System 5 messages
torpid holly So yesterday I had a problem with my automod system, which I fixed, however I want to make it so if the user has 6 auto ...
Badges 7 messages
uneven wasp So I am having this issue with badges, I want my badges to go by row but it seems the badges keep colliding together,
fetch replys to a message 2 messages
scarlet sinew is this possible. want to make a message action thing where u open the apps section of a message and then u can get all ...
docs not working 12 messages
abstract violet Hi, when I go onto the docs I just see this
998292157150535700
Slash command and message command handler complained 11 messages
nocturne dragon Hello, My brain is empty and I want to make a Slash command along with normal message handler with the point of the hand...
1150878498534199426
Incorrect typings for `.toString()` in partials? 32 messages
signal coral Alright, I'm not sure whether or not I've found an issue, so correct me if I'm wrong. - `<GuildMember>.toString()` is ...
1150878580193116250
Cannot read properties of undefined "options" 8 messages
ashen topaz ```/home/container/events/join.js:13 const role = member.interaction.options.getRole('905893175774822441'); ...
Adding emotes to a select menu not working 27 messages
fleet narwhal Hello! I've got a weird issue where I get a `DiscordAPIError[50035] - DiscordAPIError[50035]: Invalid Form Body` when I...
1150878580193116250
is all working correctly, but when I interact with the "exit" button and the dropdaw menu the error 19 messages
spring horizon is all working correctly, but when I interact with the "exit" button and the dropdaw menu the error is "This interaction...
How to delete all autoModerationRules rules in specific guild? 11 messages
rigid knot How to delete all autoModerationRules rules in specific guild?
What is this "Text Input"? 4 messages
quiet compass So I was looking at the ComponentType for message components and when looking at the Discord docs (which there was a lin...
The bot does not detect the contents of the messages 4 messages
shell grove ```jsclient.on(Events.MessageCreate, async message => { if (message.author.bot) return; console.log('Conteni...
get list forums 3 messages
gray bear hello, I have a question if you can get the list of forums and their posts created from a discord server.
1150878580193116250
Don't DM a user with disabled DMs? 5 messages
trail palm Is it possible for the bot to first check if a user has completely disabled DMs. And if so do not send a DM.