Fxkitt
DIAdiscord.js - Imagine an app
•Created by Fxkitt on 11/4/2023 in #djs-questions
Had to add bot to new server and change over some ID's and having issues with manage roles
My bot detects when a user sends a DM and then checks if it can manage the roles for this user, on the other server this worked fine i have changed over the server ID on the second line and changed nothing else.
the issue
is member.managable
is returning false
and im not sure why, the user im testing with has no roles with permissions and the bot has correct permissions and intentions to my knowledge.
Any tests i can do to check what could be wrong or anyone see an error in the code?10 replies
DIAdiscord.js - Imagine an app
•Created by Fxkitt on 4/7/2023 in #djs-questions
Checking roles of user in server from their dm message
i want to check if a user dms and also has a role in the server
i tried this first but then realised if its in a dm you have no roles, is there a way around this?
this bot will only be used in one server
74 replies