Skip to content

Commit

Permalink
⬆ Bump Discord PHP to v10.0.0-RC7 (#62)
Browse files Browse the repository at this point in the history
* 🎨 Change the default `ready` event to `init`
  • Loading branch information
Log1x authored Jun 3, 2024
1 parent faf3bb3 commit 29e35d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"react/async": "^4.2",
"react/http": "^1.9",
"symfony/psr-http-message-bridge": "^7.0",
"team-reflex/discord-php": "^7.3"
"team-reflex/discord-php": "v10.0.0-RC7"
},
"require-dev": {
"laravel/pint": "^1.15"
Expand Down
2 changes: 1 addition & 1 deletion src/Laracord.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function boot(): void

$this->registerCommands();

$this->discord()->on('ready', function () {
$this->discord()->on('init', function () {
$this
->registerEvents()
->bootServices()
Expand Down

0 comments on commit 29e35d0

Please sign in to comment.