osl-vvce / zero-sama

A telegram bot for managing the weekly status sent by various members.
https://status.oslvvce.com
MIT License
0 stars 6 forks source link

Extract admin config #24

Open shreevari opened 2 years ago

shreevari commented 2 years ago

https://github.com/osl-vvce/zero-sama/blob/master/app.ts#L266-L309 Admin operations have hardcoded information. Extract this as config, to be read from the environment/trusted source.

shreevari commented 2 years ago

It could also be read from an admin group or telegram admins of the main group