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개