docsFunctionsUsersZisUserDMEnabled

ZisUserDMEnabled

Returns true if a DM channel can be successfully opened with the command author or specified user, otherwise false.

Syntax

ZisUserDMEnabled{userID?}

Arguments

NameTypeRequiredDefault
userIDsnowflakeNoauthor’s ID

Example

ZisUserDMEnabled{123456789012345678}