meze
DIAdiscord.js - Imagine an app
•Created by meze on 12/17/2023 in #djs-questions
How to check if Member Authorzied with OAuth2 Application?
Hey someone got the knowledge. I have a Embed message with a Button and the oauth2 authorzie link in it. How Can i implemend in the Code, that the Bot check if the User have it self authorized and give him a specific Role. My latest Code:
https://pastebin.com/XGmBgH8n
with the error Code:
I know the client.application.commands.get is the problem but I dont know, how to fix that rightly.
Thanks for everybody help! :D
6 replies
DIAdiscord.js - Imagine an app
•Created by meze on 12/17/2023 in #djs-questions
OAuth2 Question
Is it possible to take authorized User with the OAuth2 (guild.join), auto. joining a another server with a Command?
And mabye if someone have time, can tell me how? :D
13 replies