diff --git a/packages/core/src/structures/guilds.ts b/packages/core/src/structures/guilds.ts index b10208d..8b7fcb3 100644 --- a/packages/core/src/structures/guilds.ts +++ b/packages/core/src/structures/guilds.ts @@ -1072,6 +1072,15 @@ export class Guild extends BaseGuild implements Model { return this.edit({ discoverySplash }); } + /** + * Sets a new guild icon image. Same as Guild.edit({..., icon: 'url'}) + * @param icon - The new icon for the guild. + * @see {@link Guild} + */ + setIcon(icon: string): Promise { + return this.edit({ icon }); + } + /** * Edits a guild and returns its data. * @see {@link Guild}