Apply fixes from StyleCI
This commit is contained in:
parent
dae03089f1
commit
cc93d2ec54
|
@ -184,17 +184,17 @@ final class BenBot extends Discord
|
|||
'description' => 'shows help text',
|
||||
'usage' => '<command>',
|
||||
]);
|
||||
$helpcmd->registerSubCommand('all', function ($msg, $args) {
|
||||
$helptxts = "";
|
||||
foreach ($this->cmds as $cmd) {
|
||||
$helptxts .= ";{$cmd->command}\n";
|
||||
}
|
||||
return "```All available BenBot commands:\n\n$helptxts\n-------------------------------------------------------------\n;help [command] to get more information about a specific command```";
|
||||
}, [
|
||||
$helpcmd->registerSubCommand('all', function ($msg, $args) {
|
||||
$helptxts = '';
|
||||
foreach ($this->cmds as $cmd) {
|
||||
$helptxts .= ";{$cmd->command}\n";
|
||||
}
|
||||
|
||||
return "```All available BenBot commands:\n\n$helptxts\n-------------------------------------------------------------\n;help [command] to get more information about a specific command```";
|
||||
}, [
|
||||
'description' => 'list all commands',
|
||||
]);
|
||||
|
||||
|
||||
Utils::ping('bot started successfully');
|
||||
echo PHP_EOL, 'BOT STARTED SUCCESSFULLY', PHP_EOL, PHP_EOL;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue