【文件属性】:
文件名称:telegram-bot-coffee:使用Telegram Bot API用CoffeeScript编写的模块化可扩展Telegram Bot
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-06 23:57:39
CoffeeScript
电报机器人咖啡
用CoffeeScript编写的可扩展Telegram Bot实现。 由node.js或io.js
配置
在运行主要的二进制telegram-bot ,将根据通过命令行传递给它的第一个参数来加载配置文件。
例如
telegram-bot /path/to/the/config.json # This is full path!
配置文件应为json格式:
{
" key " : " auth-key-from-bot-father " ,
" name " : " the-username-of-your-bot " ,
" urlbase " : " https://yoursite.yourdomain/some/path " ,
" port " : 23326 ,
" workers " : 4 ,
" memcached " : " 127.0.