Skip to content

Commit

Permalink
Release 3.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowRunescape authored Jan 1, 2023
2 parents 38fa08b + bced6d6 commit e81ac73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Discord.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Discord

public function __construct(string $token)
{
Logger::Info("Starting DiscordPHP 3.0.5");
Logger::Info("Starting DiscordPHP 3.0.6");

$this->token = $token;

Expand Down
2 changes: 1 addition & 1 deletion src/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function executeEvent(array $event)

if (array_key_exists($event["t"], $this->eventsHandler)) {
try {
$this->eventsHandler[$event["t"]]->run($event);
$this->eventsHandler[$event["t"]]->run($event["d"]);
} catch (Exception $e) {
$className = get_class($this->eventsHandler[$event["t"]]);

Expand Down

0 comments on commit e81ac73

Please sign in to comment.