📄 doaddbot.php
字号:
<?php
$user_id = $GLOBALS['fc_config']['bot']->getNextId();
if($GLOBALS['fc_config']['bot']->connectUser2Bot($user_id, $login, $bot))
{
$txt = "<b>Bot '$login' was added succesfully.</b>";
$this->sendToUser(null, new Message('msg', $this->userid, $GLOBALS['fc_config']['liveSupportMode']?$this->roomid:null, $txt, $this->color));
}
else
{
$txt = "<b>Bot '$login' was not added.</b>";
$this->sendToUser(null, new Message('msg', $this->userid, $GLOBALS['fc_config']['liveSupportMode']?$this->roomid:null, $txt, $this->color));
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -