diff --git a/plans/discord_bot_outline.md b/plans/discord_bot_outline.md new file mode 100644 index 00000000..a32fd3c6 --- /dev/null +++ b/plans/discord_bot_outline.md @@ -0,0 +1,35 @@ +# general idea +- discord bot run by the server +- use discord.js +- don't use discord's slash commands + - listen for commands the old fashioned way + - only admins with IDs set in the server config can use commands +- use nice looking embeds with colors for everything but messages + +# features + +## admin server management commands +- admins can lock and unlock rovers from discord +- admins can change the server access control mode + +## announcements +- the bot has an announcements channel assigned in the server config. It will also have an announcement role ID to optionally ping. it will announce: + - when a rover is locked / unlocked (no ping) + - when the server access mode is changed (ping) +- the bot will have an admin ping role and alert channel. in here will be: + - rover activity (no pings) + - docking + - charging + - stopping charging + - undocking + - rover alerts (ping) + - rover comes online + - rover goes offline + - rover is at warn battery + - rover is at urgent battery + +## chat bridge +- bridge between the server chat and discord chat +- use chat events that are on the bus already + + diff --git a/plans/problems.md b/plans/problems.md index 32fe4f1a..4f5e735a 100644 --- a/plans/problems.md +++ b/plans/problems.md @@ -7,7 +7,7 @@ - https://www.thingiverse.com/thing:4514531 ## spectator page -- video does not load in spectator page in admin mode +- completely remake it from scratch ## todo @@ -16,9 +16,11 @@ 4. fix gamepad input - add manual inversions? -6. nicknames + 7. discord bot 8. turns mode display -9. online user list -10. chat -11. redo spectator view (last) \ No newline at end of file + + +10. redo both mobile layouts +11. redo spectator view (last) +21. finally.. set the favicon \ No newline at end of file