# $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

```bdfd
$setMemberFlags[$authorID;BypassesVerification]
```
