Mentions :
If somebody mentions you in a room, receive a private hangout from the bot with details on the mention,
including context, room and person who mentioned you.
Syncouts :
A syncout is two Hangout group chats that have their messages forwarded to each other, allowing seamless
interaction between the two rooms. Primarily used to beat the 150-member chat limit, but it can also be
used for temporarily connecting teams together to interact.
Cross-chat Syncouts :
Half of your team is on Slack? No problem! You can connect them into the same room to communicate.
Support for other chat clients coming soon.
Hubot Integration:
Hangupsbot allows you to connect to Hubot, instantly providing you access
to hundreds of developed chat tools and plugins.
usage: hangupsbot [-h] [-d] [--log LOG] [--cookies COOKIES] [--memory MEMORY] [--config CONFIG] [--version]
optional arguments:
-h, --help show this help message and exit
-d, --debug log detailed debugging messages (default: False)
--log LOG log file path (default:
~/.local/share/hangupsbot/hangupsbot.log)
--cookies COOKIES cookie storage path (default:
~/.local/share/hangupsbot/cookies.json)
--memory MEMORY memory storage path (default:
~/.local/share/hangupsbot/memory.json)
--config CONFIG config storage path (default:
~/.local/share/hangupsbot/config.json)
--version show program's version number and exit
Bot Configuration for Administrators
Configuration directives can be specified in config.json.
Please note that the config.json file supplied with the repository is not
supposed to be edited/changed. It is the reference file used by the bot to
create the actual configuration file located elsewhere in the system. To find out
where the actual file is, please see the Additional Configuration section
in the installation
instructions.
Most configuration directives are specified globally
Global directives are always specified in the "root" of config.json.
To specify a per-conversation directive, the same configuration option should
be defined as config.conversations[<conversation-id>].<configuration option>.
Per-conversation directives override global settings, if both are set.
Manually-configured per-conversation directives are DEPRECATED.
Plugins
The plugins key in config.json allows you to optionally specify a list of plugins
that will be loaded by the bot on startup. If this option is left as null, then
all available plugins will be loaded.
To specify the plugins to be loaded, first ensure that the correct .py files are
inside your hangupsbot/plugin/ directory, then modify the plugins key in
config.json to reflect which plugins/files you want to load e.g.
plugins: ["mentions", "default", "chance", "syncrooms"]
Some plugins may require extra configuration.
config.json is the the configuration provider for the bot and its plugins.
请发表评论