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

Commit 8c7769c

Browse files
committed
fix debug
1 parent bb20975 commit 8c7769c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Discord/Parts/RegisteredCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ public function execute(array $options, Interaction $interaction): bool
7777
}
7878

7979
if (! is_null($this->callback)) {
80-
$this->logger->info('calling command callback', $interaction);
80+
error_log('calling command callback');
8181
($this->callback)($interaction, new Choices($options));
82+
error_log('called command callback');
8283

8384
return true;
8485
}

0 commit comments

Comments
 (0)