forked from spacejewelhosting/raspberry-bot
Added missing help command
This commit adds the missing help command for the bot.
This commit is contained in:
7
bot.php
Normal file → Executable file
7
bot.php
Normal file → Executable file
@@ -1,9 +1,11 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
use nogueiracodes\RaspberryBot\Bot\Actions\MessageLogger;
|
||||
use nogueiracodes\RaspberryBot\Bot\Commands\MinecraftInfo;
|
||||
use nogueiracodes\RaspberryBot\Bot\Commands\NumberFact;
|
||||
use nogueiracodes\RaspberryBot\Bot\Commands\SimplePlayback;
|
||||
use nogueiracodes\RaspberryBot\Bot\Commands\Help;
|
||||
use nogueiracodes\RaspberryBot\Core\RaspberryBot;
|
||||
|
||||
require 'src/Bot/init.php';
|
||||
@@ -18,8 +20,9 @@ $raspberryBot
|
||||
->addCommand([
|
||||
new SimplePlayback,
|
||||
new NumberFact,
|
||||
new MinecraftInfo
|
||||
new MinecraftInfo,
|
||||
new Help
|
||||
])
|
||||
->addAction(new MessageLogger)
|
||||
->setCommandPrefix($_ENV['COMMAND_PREFIX'])
|
||||
->run();
|
||||
->run();
|
||||
|
Reference in New Issue
Block a user