commands and logs to the database
This commit is contained in:
@@ -31,7 +31,7 @@ final class ChannelService
|
||||
$schemasCollection = (new Collection($schemasArray["schemas"] ?? []))->map([$schemaService, 'fromArray']);
|
||||
|
||||
$userCommands = [];
|
||||
foreach (config("lucent.commands") as $signature => $desc) {
|
||||
foreach (config("lucent.commands") ?? [] as $signature => $desc) {
|
||||
$userCommands[] = new UserCommand($desc, $signature);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user