Skip to content

Commit

Permalink
Fix misnamed repository call
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming authored Nov 1, 2024
1 parent 335a178 commit 6fbb669
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function handle($data)
/** @var ?Guild */
if ($guild = yield $this->discord->guilds->cacheGet($data->guild_id)) {
/** @var ?Sound */
$part = yield $guild->soundboard_sounds->cachePull($data->sound_id);
$part = yield $guild->sounds->cachePull($data->sound_id);
if ($part instanceof Sound) {
$part->fill((array) $data);
$part->created = false;
Expand Down

0 comments on commit 6fbb669

Please sign in to comment.