updateGuildName abstract method

  1. @POST.new('/admin/guilds/update-name')
Future<GuildUpdateResponse> updateGuildName({
  1. @Body.new() required UpdateGuildNameRequest body,
})

Update guild name.

Changes a guild name. Used for removing inappropriate names or correcting display issues. Logged to audit log. Requires GUILD_UPDATE_NAME permission.

body - Name not received - field will be skipped.

Implementation

@POST('/admin/guilds/update-name')
Future<GuildUpdateResponse> updateGuildName({
  @Body() required UpdateGuildNameRequest body,
});