This command is used to add a role to an user, and removes it after a specified amount of time (duration). If the user has already set that temprole, using this command again will add the new duration to the current one.
user- The user you want to assign the role to
role- The role you want to assign to the user
reason- The reason for this action for logging purposes.
/temprole <user> <role> <duration> [reason]
This command's level is 50 by default. The bot needs Read Messages, Send Messages, Manage Roles permissions in order to be able to execute this command.