urretf
DIAdiscord.js - Imagine an app
•Created by ayeuhugyu on 9/10/2023 in #djs-questions
cannot recieve direct messages
try commenting out the entire section in between and see if the issue is still present
23 replies
DIAdiscord.js - Imagine an app
•Created by .turtle_dick on 9/1/2023 in #djs-questions
Private/Public Application
please read the whole conversation. OP was asking if bots could change their own public/private status, not how to do it from the dashboard
20 replies
DIAdiscord.js - Imagine an app
•Created by .turtle_dick on 9/1/2023 in #djs-questions
Private/Public Application
ideally you should add error handling to prevent bot crashes as much as you can though
20 replies
DIAdiscord.js - Imagine an app
•Created by .turtle_dick on 9/1/2023 in #djs-questions
Private/Public Application
PATCH to /users/@me, to be specific
20 replies
DIAdiscord.js - Imagine an app
•Created by .turtle_dick on 9/1/2023 in #djs-questions
Private/Public Application
username/profile would be using a different endpoint for user profile editing
20 replies
DIAdiscord.js - Imagine an app
•Created by .turtle_dick on 9/1/2023 in #djs-questions
Private/Public Application
Yeah there's only GET for /applications/@me, nothing for editing
20 replies
DIAdiscord.js - Imagine an app
•Created by .turtle_dick on 9/1/2023 in #djs-questions
Private/Public Application
I don't think bots can edit that information
20 replies
DIAdiscord.js - Imagine an app
•Created by .turtle_dick on 9/1/2023 in #djs-questions
Private/Public Application
add error handling or a server/user whitelist in your bot's config
20 replies
DIAdiscord.js - Imagine an app
•Created by .turtle_dick on 9/1/2023 in #djs-questions
Private/Public Application
Using discord.js?
20 replies
DIAdiscord.js - Imagine an app
•Created by 小 on 8/26/2023 in #djs-questions
buffer.File Warning
warnings about experimental features can usually be ignored
19 replies
DIAdiscord.js - Imagine an app
•Created by leonissenbaum on 8/11/2023 in #djs-questions
Get around deferReply's lag
you can't cancel a defer reliably
20 replies
DIAdiscord.js - Imagine an app
•Created by leonissenbaum on 8/11/2023 in #djs-questions
Get around deferReply's lag
you could do the editReply/followUp in a .then but either way you need to store the original promise
20 replies
DIAdiscord.js - Imagine an app
•Created by leonissenbaum on 8/11/2023 in #djs-questions
Get around deferReply's lag
store the promise returned by deferReply, run your logic, then await the stored promise before you editReply or followUp
20 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 8/10/2023 in #djs-questions
Missing permissions while trying to ban someone
double check where you set
member
33 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 8/10/2023 in #djs-questions
Missing permissions while trying to ban someone
which is also the owner
33 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 8/10/2023 in #djs-questions
Missing permissions while trying to ban someone
the error says you're trying to ban 454341168344596483, which is your current account
33 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 8/10/2023 in #djs-questions
Missing permissions while trying to ban someone
hold on
33 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 8/10/2023 in #djs-questions
Missing permissions while trying to ban someone
double check that the bot actually has the Ban Members permission
33 replies
DIAdiscord.js - Imagine an app
•Created by Not Kuma anymore on 8/10/2023 in #djs-questions
Missing permissions while trying to ban someone
Getting a 403 Forbidden: Missing Permissions Error?
For actions involving members, check that
- The member's highest role is lower than the bot
- The member is not the owner of the server
- The server does not have "Require 2fa for moderation" enabled. (If it does, you need to enable 2fa on your own account.)
33 replies