New command: /takel #119

Merged
sirdog3355 merged 1 commit from feat/take-this-l into dev 2025-11-06 23:29:48 -05:00
sirdog3355 commented 2025-11-06 23:29:08 -05:00 (Migrated from github.com)

Add new /takel command. Allows giving a user @L for a specified duration in hours, defaulting to 1 day, and EnduraBot will automatically remove it once the duration expires.

  • If the command is ran while a user already has an entry in the relevant DB table the old one is deleted and replaced with a new one.
  • If the L is removed early, and the duration is reached, EnduraBot will handle it gracefully and still remove the DB entry.
  • If the L is removed and given back, from EnduraBot's perspective, nothing has changed, and the role will be removed at the original time.
  • Using the optional check parameter allows checking if a specific person has the L and, if so, who gave it, and when it's set to expire.

Closes #75

Add new `/takel` command. Allows giving a user `@L` for a specified duration in hours, defaulting to 1 day, and EnduraBot will automatically remove it once the duration expires. - If the command is ran while a user already has an entry in the relevant DB table the old one is deleted and replaced with a new one. - If the L is removed early, and the duration is reached, EnduraBot will handle it gracefully and still remove the DB entry. - If the L is removed _and given back_, from EnduraBot's perspective, nothing has changed, and the role will be removed at the original time. - Using the optional `check` parameter allows checking if a specific person has the L and, if so, who gave it, and when it's set to expire. Closes #75
Sign in to join this conversation.
No description provided.