gabotaco / rc-website-web

1 stars 6 forks source link

Overhaul the deadline system #54

Open YeahItsRock opened 2 years ago

YeahItsRock commented 2 years ago

We'd like to run a trial of this idea; if possible, please make backups of the current system that would allow us to revert!

When a person is hired, set their deadline to the last day of the following calendar month.

Three days before the end of each calendar month, Alfred automatically DMs anyone whose deadline will end on the last day of the month, or within the next 28 days. If Alfred cannot DM the person for any reason, management is notified in #staff-notifications with a message that says "Alfred could not reach this person: discord_ID, in-game ID, in-game name".

The DM from Alfred will have a message and two reactions on the message, thumbs up and thumbs down. If the user replies with a thumbs up, their deadline is set to the last day of the month-after-next. For example, if their deadline was May 31st and they click the thumbs up, their deadline will change to July 31st. If they respond with a thumbs_down, they are fired from the company--presumably they've left but didn't let someone know.

Alfred's message: "Hello!

You're getting this message because you're registered in Rockwell Corporation and your activity deadline is coming up in a few days. If you'd like to remain in the company, please click the thumbs up reaction below. If you've left the company, or want to leave now, please click the thumbs down button below.

If you can't be active soon or wish to leave for any other reason, it's not a problem! You can use the application at http://apply.rockwelltransport.com to automatically rejoin the company any time. Thank you!"

If they do not react within 7 days of the DM, they are added to a list of people who are eligible to be yeeted.

New channel that contains the reactions of each individual, positive and negative.

In each company, add a reaction message in the #roles-and-actions channel that allows a person to extend their deadline in the same manner. Only allow this to actually extend their deadline if their deadline is fewer than 7 days away.

If they try to use the reaction message to extend their deadline but it's more than 7 days away, they will get a DM from Alfred that says, "_Sorry! You may only extend your deadline when it is less than a week away. Your current deadline is deadlinehere". If they are within 7 days, their deadline moves to the last day of the month-after-next, similarly to the DM above. They get a DM from Alfred that says, "_Deadline extended! Your new deadline is deadlinehere."

Send all positive responses to the same channel. Also send a message to the channel if Alfred's DM attempt fails.

When someone automatically rejoins the company, add a feature that has Alfred DM the person with the message: "Hello!

Thank you for returning to Rockwell Corporation. When possible, seek out any RC manager in-game to restore your company permissions.

Have a great day!"

YeahItsRock commented 2 years ago

Please do not start work on this until more details have been fleshed out

gabotaco commented 1 year ago

Are we still thinking of wanting to do this?