editGuild


General

editGuild edits the guild.


Usage

Client:setGuildVerificationLevel(<array> data, (string) reason)
Returns: <Guild> guild

data may be:
- (string) name
- (string) region
- (number) verificationLevel
- (number) explicitContentFilter
- (string) afkChannel
- (string) systemChannel
- (number) afkTimeout
- (string) icon
- (string) splash

Icon must be the source of an image, it CANNOT be an URL like in the setGuildIcon.


Limitations

See discordGuild PATCH.


Example

local editor = Client:editGuild({region = "singapore"}, "testing!")
print(editor.region)

editGuild.PNG

Back to top