$onlyForIDs
$onlyForIDs
will check if the command was executed by any user of the listed user IDs and return a error if not.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
…userIds | string, number | Users you want to limit the command to. | true |
error | string | Error to return when the command was not executed by and of the listed users. | true |
Example(s)
This will limit the command to bot developers only: