$isUserDmEnabled
$isUserDmEnabled
will check if the user’s Direct Messages are either disabled or enabled.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
userID | number | ID of the user you want to check if their dms are enabled or not. | true |
Example(s)
This will return either true
or false
depending on if your Direct Messages are enabled or disabled: