OczkoSX Posted January 3, 2017 Report Share Posted January 3, 2017 Hi. Is this event triggered even when someone invites bot to friends while he's offline and then the bot is being turned on? I need t cancel every request sent while the bot was offline Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 3, 2017 Report Share Posted January 3, 2017 No. friendsList is emitted after logon. Once that's fired, you can access myFriends to see who invited you (value would be RequestRecipient). Quote Link to comment Share on other sites More sharing options...
OczkoSX Posted January 4, 2017 Author Report Share Posted January 4, 2017 So I need to handle both events to get rid off old and new requests? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 5, 2017 Report Share Posted January 5, 2017 Yes. Quote Link to comment Share on other sites More sharing options...
OczkoSX Posted January 5, 2017 Author Report Share Posted January 5, 2017 Okay, thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.