Server Helpers
isOwner
$isOwner — Tells whether a user owns the server
Tells whether a user owns the server.
Syntax
$isOwner[(userID)]
Parameters
- userID (ID, optional) — Default: the author of the command.
Return Value
trueorfalse.
Usage
$onlyIf[$isOwner==true;Only the owner can do this.]
Example
$sendMessage[$onlyIf[$isOwner==true;Only the owner can do this.]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.