diff --git a/packages/core/src/structures/guilds.ts b/packages/core/src/structures/guilds.ts index 781e20b..8b46e9a 100644 --- a/packages/core/src/structures/guilds.ts +++ b/packages/core/src/structures/guilds.ts @@ -1095,7 +1095,7 @@ export class Guild extends BaseGuild implements Model { * @returns A promise that resolves to the edited guild. */ async edit(options: GuildEditOptions): Promise { - const guild = await this.session.rest.patch(GUILDS(), { + const guild = await this.session.rest.patch(GUILDS(this.id), { name: options.name, afk_channel_id: options.afkChannelId, afk_timeout: options.afkTimeout,