Add sample api_key.php and change file_get_contents with require
This commit is contained in:
parent
3dbc02dc73
commit
59e0d23ba5
|
@ -0,0 +1 @@
|
||||||
|
<?php return 'xxxxxxxxxx:xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxx'; ?>
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$bot_name = "quadnite_bot";
|
$bot_name = "quadnite_bot";
|
||||||
$bot_api = file_get_contents('api_key');
|
$bot_api = require('api_key.php');
|
||||||
|
|
||||||
// Checks whether the given command is the same as the entered command
|
// Checks whether the given command is the same as the entered command
|
||||||
function check_command($command) {
|
function check_command($command) {
|
||||||
|
|
Loading…
Reference in New Issue