Temporarily Ban and Mute Users
Temporarily ban and mute users in your server.
Accepts time intervals of minutes (m), hours (h), and days (d).
If your prefix is set to "!":
!tempmute 2h @user - mute a user for 2 hours
!tempban 1d @user - ban a user for one full day
On install, you will be asked to set these environment variables:
MUTE_ROLE_ID - Id of the mute role in your server
ADMIN_ROLE_ID - Id of the admin role in your server
GUILD_ID - Id of your server
PREFIX - Prefix for the command, such as ! or ~
By default, the app will check every 5 minutes for users that should be
unbanned or unmuted. Advanced Autocode users can adjust this frequency in
functions > events > scheduler > xminutely.js.