Web-based front-end for BlendoBot
Opened this issue · 0 comments
Biendeo commented
Just an idea I've been mulling over; currently BlendoBot just outputs to the terminal output, and logs just sit on the running computer. A web server that would allow specific people to log in and administer the server would be quite nice.
This would be a big undertaking because there's a number of features that would need to be implemented.
- Account logins need to be handled first. It should be easy enough to determine if a user is admin of a guild, and thus they can easily be compared against all guilds BlendoBot runs on. However there may also need to be a level of elevation for specific users who manage the running instance itself (i.e. me).
- If a user manages the running instance (refer to them as a superadmin), they need a control panel which can access the logs, and maybe some additional tools to help restart and view the state of the bot.
- If a user manages a guild (refer to them as an admin), they should be given a list of the guilds they admin, and should be allowed to enable and disable commands on the fly. A stretch feature may be to be able to see logs pertaining to a specific guild, although since BlendoBot isn't deployed on many servers it's probably not needed at the moment.
- The whole thing needs to somehow interact with thee running instance. It could be done with networking since it doesn't have to leave the source computer, but it does need to have some kind of network protocol. Alternatively, it can run in the BlendoBot project itself which simplifies how to integrate it with everything, at the cost of having a specific web framework locked in (i.e. ASP.NET).