@@ -229,4 +229,4 @@ |
||
| 229 | 229 | { |
| 230 | 230 | } |
| 231 | 231 | } |
| 232 | - |
|
| 233 | 232 | \ No newline at end of file |
| 233 | + |
|
| 234 | 234 | \ No newline at end of file |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | "trigger" => "!", // what trigger is used for commands |
| 32 | 32 | "guild" => 152677265635803136, // guildID |
| 33 | 33 | "token" => "", //enter the token for your app (https://discordapp.com/developers/applications/me) |
| 34 | - "adminRoles" => array("Admin",""),//enter the roles that you'd like to have access to admin commands |
|
| 34 | + "adminRoles" => array("Admin",""),//enter the roles that you'd like to have access to admin commands |
|
| 35 | 35 | "silentMode" => "false"//set this to true if you want to disable all the chat commands |
| 36 | 36 | ); |
| 37 | 37 | |
@@ -29,12 +29,12 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | function updateBot($logger) |
| 31 | 31 | {
|
| 32 | - $logger->addInfo("Updating Bot");
|
|
| 33 | - putenv("COMPOSER_HOME=/usr/local/bin/composer");
|
|
| 32 | + $logger->addInfo("Updating Bot");
|
|
| 33 | + putenv("COMPOSER_HOME=/usr/local/bin/composer");
|
|
| 34 | 34 | $output = shell_exec('sh ' . dirname(__FILE__) . '/update.sh');
|
| 35 | - if ($output == "1"){
|
|
| 36 | - $logger->addInfo("Update Complete");
|
|
| 37 | - return "1"; |
|
| 38 | - } |
|
| 39 | - return "0"; |
|
| 35 | + if ($output == "1"){
|
|
| 36 | + $logger->addInfo("Update Complete");
|
|
| 37 | + return "1"; |
|
| 38 | + } |
|
| 39 | + return "0"; |
|
| 40 | 40 | } |