Skip to content

Commit

Permalink
Fix mapping for GuildDelete event
Browse files Browse the repository at this point in the history
  • Loading branch information
Exanlv committed Apr 30, 2024
1 parent 25855f8 commit 76eff72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gateway/Events/GuildDelete.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

use Ragnarok\Fenrir\Attributes\RequiresIntent;
use Ragnarok\Fenrir\Enums\Intent;
use Ragnarok\Fenrir\Parts\Guild;
use Ragnarok\Fenrir\Parts\UnavailableGuild;

/**
* @see https://discord.com/developers/docs/topics/gateway-events#guild-delete
*/
#[RequiresIntent(Intent::GUILDS)]
class GuildDelete extends Guild
class GuildDelete extends UnavailableGuild
{
}

0 comments on commit 76eff72

Please sign in to comment.