This is a jail and unjail command that I made on my spare time. This is made for easier and faster response, along with a better way to jail someone on the phone.
Please note that the bot doesn't know if you jailed a right person, so please double check. Well, you can remove {silent}
so you know if it's a success, but it won't be seamless.
- Go to your server's Dyno custom commands module.
- Turn on the module if it's not turned on.
- Click the "Add Command" button.
- Set the command (for example
jail
) and put the response in the appropriate fields. - Done, try it.
These steps below are optional.
- Set the options.
Focus at the Silent Command option. - Set the permissions.
This should be optional, because the first two lines. But, if you want to be sure, just set it. - Set the Advanced Options.
If you want to set the minimum arguments, set it to 1.
{require:Moderator}
{require:Administrator}
{silent} {!role removeall $1}
{silent} {!role $1 +Jailed}
<:dynoSuccess:314691591484866560> **$1** has been jailed. To remove the role, do ``?unjail $1``.
*P.S. Please double check if the user is jailed.*
{require:Moderator}
{require:Administrator}
{silent} {!role $1 -Jailed}
<:dynoSuccess:314691591484866560> **$1** has been released from the jail.
*P.S. Please double check if the user is unjailed.*
As far as I know, I don't think it is possible at this moment. Dyno doesn't have some kind of memory feature. One alternative that I suggest is to make the
Jailed
role high enough, so it overrides other role permissions. That way you can just remove theJailed
role, restoring his initial roles and permissions.