setGuildDefaultMessageNotifications


General

setGuildDefaultMessageNotifications sets the default message notifications for the guild.


Usage

Client:setGuildDefaultMessageNotifications(<string / number> defaultMessageNotifications, (string) reason)
Returns: <Guild> guild

defaultMessageNotifications may be:
- MENTIONS
- ALL


Limitations

See discordGuild PATCH.


Example

print(Client:setGuildDefaultMessageNotifications('MENTIONS', 'Changed the default notifications!').defaultMessageNotifications)

Back to top