fooooooooooooooo / VelocityDiscord

Velocity global chat/discord bridge
GNU Lesser General Public License v2.1
21 stars 10 forks source link

Show player count as activity #16

Closed voruti closed 1 year ago

voruti commented 1 year ago

This PR adds:

Showing the current amount of players connected to the proxy as Discord activity. The text/amount gets updated in method updateActivityPlayerAmount() which will be called when the bot is "ready" (initialize) or a player joined or left the game (regular updates). The activity text is configurable in the config.

Screenshot:

activity ("Spielt" is "is playing" - Discord uses localized texts & my Discord client is setup with the German language.)

voruti commented 1 year ago

I thought about implementing a toggle in the config to be able to disable this feature - is this even necessary?

fooooooooooooooo commented 1 year ago

i like having things as configurable as possible, so a config option would be nice to have

fooooooooooooooo commented 1 year ago

thanks for the pr :)