k8thekat / GatekeeperV2

Update to Gatekeeper
GNU General Public License v3.0
27 stars 11 forks source link

[ENHANCEMENT] Add bot activity under name #70

Open Vodianoi opened 1 year ago

Vodianoi commented 1 year ago

Hey ! I would like to know if you can add bot activity linked to a server ? (/bot linkactivity <server> ?)

like this from this other discord bot Discord_Cg8lfeFKNl

Thank you for the awesome work !

k8thekat commented 1 year ago

Hey thanks for this request; am I to assume you want the Bot's status to display the status of a selected AMP Instance? Such as Online/Offline?

I have not used his Bot; so I don't entirely know what you are after.

Thanks.

Vodianoi commented 1 year ago

For the server running in the Instance : displaying number of connected players if server is online and running (and supported), and status like Starting, Sleeping, etc.

I believe it depends on what type of server the instance is running, I don't know if AMP provides the same field for player count for different server types in its API

k8thekat commented 1 year ago

The issue is AMP doesn't report state when a server is Starting or Stopping. I may be able to check State for Sleeping; not entirely sure.

But displaying Online 3/15 could definitely be achieved; I will see what I can come up with.

Vodianoi commented 1 year ago

That would be great already, thank you ! The other discord bot uses C#, I don't know if there are differences with python amp lib

k8thekat commented 1 year ago

A little bit; their bot interacts directly with AMP while mine interacts with their API

Toylerrr commented 8 months ago

Honestly I would like to be able to set it to something silly and static /bot status "too busy gaming"

k8thekat commented 7 months ago

Totally doable, I can easily provide some options that meet both your goals.