Pandabot/pb-web/inc/title.php

8 lines
195 B
PHP
Executable file

<?php
function title() {
global $botconf;
if (array_key_exists("botcommand", yaml_parse_file($botconf))) {
echo yaml_parse_file($botconf)["botcommand"];
} else exit(1);
} // function end