Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bot.clientEvents.onFriendOffline event #39

Closed
Tina-King opened this issue Feb 18, 2021 · 2 comments
Closed

Add bot.clientEvents.onFriendOffline event #39

Tina-King opened this issue Feb 18, 2021 · 2 comments

Comments

@Tina-King
Copy link
Contributor

Add the ability to subscribe to friends logging out.

@Tina-King Tina-King changed the title Add bot.clientEvents.onFriendOffline Add bot.clientEvents.onFriendOffline event Feb 18, 2021
@ghost
Copy link

ghost commented Mar 17, 2022

It appears you can use the bot.clientEvents.onFriendOnline event for this, and it has a boolean if they are online or offline, from what I'm understanding of the library.

@TomMettam
Copy link
Contributor

Yep, ghost is correct. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants