Moderation
setMemberFlags
$setMemberFlags
Sets the flags of a member. Discord only lets bots change BypassesVerification. Bot Creator function, not in the official BDFD wiki.
Syntax
$setMemberFlags[userID;flags;(guildID);(reason)]
Parameters
| Parameter | Description |
|---|---|
userID |
Required. The ID of the user. |
flags |
Required. Names separated by commas (BypassesVerification) or a number. |
guildID |
Optional. The ID of the server. Empty or absent: the current server. |
reason |
Optional. Reason recorded in the server audit log (512 characters at most). |
Return Value
- Nothing.
Example
$setMemberFlags[$authorID;BypassesVerification]
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.