Skip to content

Commit 29e35d0

Browse files
authored
⬆ Bump Discord PHP to v10.0.0-RC7 (#62)
* 🎨 Change the default `ready` event to `init`
1 parent faf3bb3 commit 29e35d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"react/async": "^4.2",
3030
"react/http": "^1.9",
3131
"symfony/psr-http-message-bridge": "^7.0",
32-
"team-reflex/discord-php": "^7.3"
32+
"team-reflex/discord-php": "v10.0.0-RC7"
3333
},
3434
"require-dev": {
3535
"laravel/pint": "^1.15"

src/Laracord.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function boot(): void
190190

191191
$this->registerCommands();
192192

193-
$this->discord()->on('ready', function () {
193+
$this->discord()->on('init', function () {
194194
$this
195195
->registerEvents()
196196
->bootServices()

0 commit comments

Comments
 (0)