fix typo on color for status command
This commit is contained in:
parent
ec1fcff534
commit
93cc7cab8f
|
@ -0,0 +1,72 @@
|
|||
|
||||
_______
|
||||
|/ |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
_|___
|
||||
==
|
||||
_______
|
||||
|/ |
|
||||
| (_)
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
_|___
|
||||
==
|
||||
_______
|
||||
|/ |
|
||||
| (_)
|
||||
| |
|
||||
|
|
||||
|
|
||||
|
|
||||
_|___
|
||||
==
|
||||
_______
|
||||
|/ |
|
||||
| (_)
|
||||
| |
|
||||
| |
|
||||
|
|
||||
|
|
||||
_|___
|
||||
==
|
||||
_______
|
||||
|/ |
|
||||
| (_)
|
||||
| |
|
||||
| |
|
||||
| /
|
||||
|
|
||||
_|___
|
||||
==
|
||||
_______
|
||||
|/ |
|
||||
| (_)
|
||||
| |
|
||||
| |
|
||||
| / \
|
||||
|
|
||||
_|___
|
||||
==
|
||||
_______
|
||||
|/ |
|
||||
| (_)
|
||||
| \|
|
||||
| |
|
||||
| / \
|
||||
|
|
||||
_|___
|
||||
==
|
||||
_______
|
||||
|/ |
|
||||
| (_)
|
||||
| \|/
|
||||
| |
|
||||
| / \
|
||||
|
|
||||
_|___
|
|
@ -120,7 +120,7 @@ final class Debug
|
|||
$embed = self::$bot->factory(Embed::class, [
|
||||
'title' => 'Benbot status',
|
||||
'thumbnail' => ['url' => self::$bot->avatar],
|
||||
'color' => EmbedColor::BLUE,
|
||||
'color' => EmbedColors::BLUE,
|
||||
'fields' => [
|
||||
['name' => 'Server Uptime'
|
||||
,'value' => Utils::secondsConvert($vitals->Uptime)
|
||||
|
|
|
@ -6,21 +6,13 @@ use BenBot\Utils;
|
|||
final class Hangman
|
||||
{
|
||||
private static $bot;
|
||||
private static $gallows;
|
||||
|
||||
public static function register(&$that)
|
||||
{
|
||||
self::$bot = $that;
|
||||
|
||||
self::$bot->hangman['gallows'] = "
|
||||
_______
|
||||
|/ |
|
||||
| (_)
|
||||
| \|/
|
||||
| |
|
||||
| / \
|
||||
|
|
||||
_|___
|
||||
";
|
||||
self::$gallows = explode("==", file_get_contents(self::$bot->dir . "/gallows.txt"));
|
||||
|
||||
self::$bot->registerCommand('hangman', [__CLASS__, 'startGame'], [
|
||||
'description' => 'play hangman. everyone in the channel can play',
|
||||
|
@ -30,6 +22,7 @@ final class Hangman
|
|||
}
|
||||
|
||||
|
||||
|
||||
public static function isActive($msg)
|
||||
{
|
||||
$gameid = $msg->channel->id;
|
||||
|
@ -59,16 +52,7 @@ final class Hangman
|
|||
$gameid = $msg->channel->id;
|
||||
self::$bot->hangman[$gameid] = [
|
||||
'active' => false,
|
||||
'gallows' => '
|
||||
_______
|
||||
|/ |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
_|___
|
||||
'
|
||||
'state' => 0,
|
||||
];
|
||||
self::$bot->hangman['readygame'] = [
|
||||
'originator' => $msg->author,
|
||||
|
|
Loading…
Reference in New Issue