Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit c149499

Browse files
committed
Removed reference to deprecated function
1 parent aba4c63 commit c149499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Discord/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function linkDiscord(Discord $discord, bool $interactionsOverGateway = tr
148148
throw new \RuntimeException('The Discord and slash client do not share the same event loop.');
149149
}
150150

151-
$this->http = $discord->getHttp();
151+
$this->http = $discord->getHttpClient();
152152

153153
if ($interactionsOverGateway) {
154154
$discord->on(Event::INTERACTION_CREATE, function ($interaction) {

0 commit comments

Comments
 (0)