Skip to content

Cleaned up the StatusUpdate.java#10

Merged
jasonlessenich merged 2 commits intomainfrom
andrew/more_cleanup
Jun 16, 2021
Merged

Cleaned up the StatusUpdate.java#10
jasonlessenich merged 2 commits intomainfrom
andrew/more_cleanup

Conversation

@andrewlalis
Copy link
Contributor

I updated the StatusUpdate class so that it's cleaner, more efficient (by not forcibly updating the DO_NOT_DISTURB status each time), and more easily extensible.

I made it so that the list of activities is a thread-safe list, so that it's possible to modify the list of activities while the bot is running, using commands or whatnot, since that might be interesting.

@MoonTM-GIT
Copy link
Member

Sorry I had to
bitmoji

@jasonlessenich jasonlessenich merged commit 34f786e into main Jun 16, 2021
@andrewlalis andrewlalis deleted the andrew/more_cleanup branch June 16, 2021 19:23
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

Successfully merging this pull request may close these issues.

3 participants