Detect when Discord bot was authorized on server
Just started to implement a simple bot for Discord. All goes well but I just cannot find an info on how to detect when bot was authorized on some server. I mean when somebody use OAuth2 link provided in Discord developer portal to add my bot to a server. How can I get ID of this server? Is there some event for that?
Thanks in advance!
0
कृपया टिप्पणी करने के लिए साइन इन करें करें.
टिप्पणियां
0 टिप्पणियां