On-Call Role Automation
We're going to have an "oncall" engineer every week at SCE whose job is simply to be the first responder to any failing services. As such, this person may need to be pinged (in both the SCE Discord and the SCE-Dev Discord) for any issues that are not caught by the alert manager.
We need a recurring task for the bot to assign this role based on a constantly evolving list of names for who's going to be on call.
Requirements
Testing
Test it out in the SCE-Dev server by changing the frequency of the task to run every 30 seconds, and add a bunch of names to the list. Verify that the behavior is as intended!
On-Call Role Automation
We're going to have an "oncall" engineer every week at SCE whose job is simply to be the first responder to any failing services. As such, this person may need to be pinged (in both the SCE Discord and the SCE-Dev Discord) for any issues that are not caught by the alert manager.
We need a recurring task for the bot to assign this role based on a constantly evolving list of names for who's going to be on call.
Requirements
s!command in the server, where only members with theOfficerrole or higher can use the command to add people to be on call.Testing
Test it out in the SCE-Dev server by changing the frequency of the task to run every 30 seconds, and add a bunch of names to the list. Verify that the behavior is as intended!