D-Bot/config.php

20 lines
699 B
PHP
Raw Normal View History

2015-05-30 00:20:55 +08:00
<?php
define('TYPE', $Pre_Type);
2015-06-26 13:19:40 +08:00
define('PATH', dirname(__FILE__).DIRECTORY_SEPARATOR);
2016-01-06 11:13:06 +08:00
define('OWNER_NAME', 'YOUR_NAME');
define('BOT_NAME', 'D_bot'); //Now For Telegram-Bot Only
define('HELP_BEGIN', "The_Sentence_Before_Help_Command");
define('HELP_END', "The_Sentence_After_Help_Command");
2016-02-07 20:34:08 +08:00
$TAGs = array('\'','#','/','!'); //array for commands
2015-06-29 22:13:58 +08:00
//For Telegram-Bot
2015-12-02 17:17:48 +08:00
define('TB_TOKEN', 'YOUR_TELEGRAM_BOT_TOKEN_HERE');
2016-01-06 11:13:06 +08:00
define('TB_API_URL', 'https://api.telegram.org/bot'.TB_TOKEN.'/'); //DO NOT CHANGE THIS
2015-07-02 14:15:47 +08:00
2016-01-07 08:08:33 +08:00
//For Wechat-MP
define('WC_UserName', 'YOUR_WECHAT_USERNAME_HERE');
2015-07-02 14:15:47 +08:00
//For plugins
2015-12-02 17:17:48 +08:00
define('PLUGIN_GITHUB_TOKEN', 'YOUR_GITHUB_TOKEN_HERE');
2016-01-07 08:08:33 +08:00
define('PLUGIN_STEAM_KEY', 'YOUR_STEAM_KEY_HERE');