Skip to content

Commit d935e7a

Browse files
committed
Update InteractionCreate.php
1 parent 9018330 commit d935e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Discord/WebSockets/Events/InteractionCreate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected function checkCommand(RegisteredCommand $command, $options, Interactio
111111
if ($option->focused) {
112112
return $subCommand->suggest($interaction);
113113
}
114-
if (! empty($option->options)) {
114+
if ($option->options) {
115115
return $this->checkCommand($subCommand, $option->options, $interaction);
116116
}
117117
} elseif ($option->focused) {

0 commit comments

Comments
 (0)