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)


Revision #5
Created Sat, Mar 30, 2019 1:32 PM by DevKurka
Updated Sun, Apr 21, 2019 9:56 AM by DevKurka