setGuildExplicitContentFilter


General

setGuildExplictContentFilter sets the messages filtering option.


Usage

Client:setGuildExplicitContentFilter(<number> explicitContentFilter, (string) reason)
Returns: <Guild> guild

explicitContentFilter may be:
- 0 - Don't scan any messages
- 1 - Scan messages from members without any role
- 2 - Scan messages from everybody


Limitations

See discordGuild PATCH.


Example

print(Client:setGuildExplicitContentFilter(1, "TESTING :)").explicitContentFilter)

Back to top