Izen
DIAdiscord.js - Imagine an app
•Created by Izen on 7/12/2024 in #djs-questions
Function always returns "true".
Hi everyone,
I've created a function that checks if a user can be DMed. However, it always returns true, regardless of the user's permissions.
Here's the snippet:
I've been testing it on myself, but it consistently returns true, even when it shouldn't. The function should catch an error at user.createDM(), but it doesn't seem to.
I might be overlooking something. Might someone help me point out the issue?
7 replies
DIAdiscord.js - Imagine an app
•Created by Izen on 10/25/2023 in #djs-questions
Pulling API Data in DiscordJS
So, I'm not a pro and I don't understand what the docs are talking about for pulling data from APIs, so can someone help me with this?
I am making a bot for a Minecraft Discord server, and want to use
https://api.mcsrvstat.us/3/
as an API for pulling the data, but I really don't know how.
- This is what I have so far and I know it needs a lot of fixing.
- Does someone mind helping me fix this or understand it a little bit better?
4 replies
DIAdiscord.js - Imagine an app
•Created by Izen on 7/8/2023 in #djs-questions
Issues With Permissions
78 replies
DIAdiscord.js - Imagine an app
•Created by Izen on 7/3/2023 in #djs-questions
Issues with button builder
9 replies