Compare commits

..

No commits in common. "1144e0b21782933fe1b09f2e2afa2ec986a9f90a" and "0043c8ab028155256f892bc7102cf4d1b80bfea5" have entirely different histories.

1 changed files with 15 additions and 24 deletions

View File

@ -1,5 +1,4 @@
<?php
# vim: set tabstop=2 shiftwidth=2 expandtab:
$bot_name = "quadnite_bot";
$bot_api = require('api_key.php');
@ -356,11 +355,7 @@ function rate() {
}
function help() {
send_html('You can either check /commands for a short overview or check the <a href="https://t.me/quadnite/9">Help Page</a>.');
}
function commands() {
send_text(file_get_contents('command_list.txt'));
send_html('<a href="https://t.me/quadnite/9">Help Page</a>');
}
// Get JSON from post, store it and decode it.
@ -462,10 +457,6 @@ $modules = array(
array(
"command" => "/rate",
"function" => "rate();"
),
array(
"command" => "/commands",
"function" => "commands();"
)
);