SpecialSauce
DIAdiscord.js - Imagine an app
•Created by </JustTheDev> on 2/29/2024 in #djs-questions
Bot status & guild count
What doesn’t work about it?
8 replies
DIAdiscord.js - Imagine an app
•Created by Ryan on 2/4/2024 in #djs-questions
Slash command setting not working
Yeah sometimes you need to refresh the client to reload commands. The portion that registers commands should be in a separate file so you’re not hitting the command endpoint every time you start the bot, you’re likely to hit a rate limit while testing.
21 replies
DIAdiscord.js - Imagine an app
•Created by Ryan on 2/4/2024 in #djs-questions
Slash command setting not working
Global commands should be available in dms be default
21 replies
DIAdiscord.js - Imagine an app
•Created by Ryan on 2/4/2024 in #djs-questions
Slash command setting not working
Yep
21 replies
DIAdiscord.js - Imagine an app
•Created by Ryan on 2/4/2024 in #djs-questions
Slash command setting not working
Registering commands on ready isn’t recommended. You only need to deploy commands if you change their signature
21 replies
DIAdiscord.js - Imagine an app
•Created by Rxy on 2/2/2024 in #djs-questions
How can I reference a Forum Format Post?
You could listen to the threadCreate event if you want to do something when it’s created
5 replies
DIAdiscord.js - Imagine an app
•Created by Rxy on 2/2/2024 in #djs-questions
How can I reference a Forum Format Post?
Forum posts are threads. You could fetch the threads with <Channel>.threads.fetch(<ThreadId>) and use <ThreadChannel>.delete() whenever you would like to delete it.
5 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
Check componentTogglerIds.
29 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
And how many buttons does that row have?
29 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
Right it’s undefined.
29 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
CurrentButton is undefined at that point. You should log some values and find where your logic isn’t finding what you expect.
29 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
What is index.js line 144?
29 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
Show the error and stack trace.
29 replies
DIAdiscord.js - Imagine an app
•Created by conspiracy on 1/27/2024 in #djs-questions
channel permissions
You can pass the overwrites into the create options
11 replies