mirror of
https://gitlab.com/ceda_ei/Quadnite-Bot
synced 2025-11-02 18:20:04 +01:00
Add sample api_key.php and change file_get_contents with require
This commit is contained in:
1
api_key.php.sample
Normal file
1
api_key.php.sample
Normal file
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user