Skip to content

Commit

Permalink
Update Handlers.php
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Sep 29, 2024
1 parent 8067565 commit 86b21f6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Discord/WebSockets/Handlers.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,15 @@ public function __construct()
$this->addHandler(Event::AUTO_MODERATION_RULE_UPDATE, \Discord\WebSockets\Events\AutoModerationRuleUpdate::class);
$this->addHandler(Event::AUTO_MODERATION_RULE_DELETE, \Discord\WebSockets\Events\AutoModerationRuleDelete::class);
$this->addHandler(Event::AUTO_MODERATION_ACTION_EXECUTION, \Discord\WebSockets\Events\AutoModerationActionExecution::class);

// Entitlement Event Handlers
$this->addHandler(Event::ENTITLEMENT_CREATE, \Discord\WebSockets\Events\EntitlementCreate::class);
$this->addHandler(Event::ENTITLEMENT_UPDATE, \Discord\WebSockets\Events\EntitlementUpdate::class);
$this->addHandler(Event::ENTITLEMENT_DELETE, \Discord\WebSockets\Events\EntitlementDelete::class);

$this->addHandler(Event::SUBSCRIPTION_CREATE, \Discord\WebSockets\Events\SubscriptionCreate::class);
$this->addHandler(Event::SUBSCRIPTION_UPDATE, \Discord\WebSockets\Events\SubscriptionUpdate::class);
$this->addHandler(Event::SUBSCRIPTION_DELETE, \Discord\WebSockets\Events\SubscriptionDelete::class);
}

/**
Expand Down

0 comments on commit 86b21f6

Please sign in to comment.