Documentation

Temporary Roles Module

Grant a role for a duration such as 10m, 2h, or 1d with /temprole. Lio removes it when the time ends.

Overview

An empty allow-list means any role the bot is allowed to assign.

A log channel records grants and removals.

Setup

  1. Enable Temporary Roles in Modules.
  2. Optional: log channel and an allow-list of roles.
  3. Save. Put the bot role above every role it should assign.
  4. Staff run /temprole with a member, a role, and a duration.

Troubleshooting

  • Role not granted → it is not on the allow-list, or the bot role is below it.
  • Role stayed after the timer → the bot was offline at expiry. It removes overdue roles on the next check.
  • No log line → log channel is empty or the bot cannot post there.