config verify reqs - shinyfinder/chatot-smogon GitHub Wiki
Availability: All Guilds
/config verify reqs <role> <method> [accountage] [approvalchan]
-
role
: Role given to/removed from verified users -
method
: Whether the role is added or removed upon verification -
accountage
(Optional): Minimum age of a user's forum account, in days, to be granted access to the server (referring to join date) -
approvalchan
(Optional): Channel to log new joins to grant manual approval
Example:
/config verify reqs role:123456 method:Removed accountage:30
- Chatot: None (requires View Channel, Send Messages | Send Messages in Threads if using approval channel)
- Users: Ban Members
Summary: Configures server verification requirements.
/config verfiy reqs
is used to specify the requirements for a user to be considered "verified." If method
is set to 'Removed', new users who do not meet the verification requirements are given the specified role
on join; this role is removed once they are verified with the /verify
command or button. Alternatively, if method
is set to 'Added', new users are not granted a role unless they meet the verification requirements on join; otherwise, they are given the role once verified. Optionally, the minimum age, in days, of their forum account with respect to their forum registration date can be specified in the accountage
field.
The approvalchan
optional field sends a message to the provided channel for server staff to manually grant the user access, rather than Chatot automatically modifying their roles upon checking against verification requirements. The message is sent after checking against the user's banned status and forum account creation date (assuming this requirement is set). The approval message contains the user's Discord profile, linked forum profile, and two buttons -- Approve
, which modifies the user's roles and grants them access to the server, and Deny
, which does not modify their roles and leaves them locked out. Users may run the /verify
command again (or push the button again) to request access at a later date if they are denied; however, a user cannot have more than 1 outstanding approval message (i.e. barring rare circumstances, Chatot won't send multiple approval messages for the same user). It is assumed that staff will take any next steps manually if the user's access is denied (i.e. messaging them, banning them, etc). If approvalchan
is left blank, Chatot will modify roles automatically; this is the default behavior.
Subsequent runs of this command will overwrite all values, so you need to pass all relevant values anytime you run it.