setGuildIcon


General

setGuildIcon sets a new icon for the guild.


Usage

Client:setGuildIcon(<string> iconUrl, (string) reason)
Returns: <Guild> guild

iconUrl must be a link in an image format, such as JPEG, JPG, PNG.


Limitations

See discordGuild PATCH.


Example

print(Client:setGuildIcon('https://0q0.eu/img/okwoteam.png', 'new icon :D').iconURL)

Back to top