Skip to content

Instantly share code, notes, and snippets.

@Gateswong
Created October 28, 2017 14:07
Show Gist options
  • Select an option

  • Save Gateswong/164a3f534bb09c9cee4de86eab1d80ef to your computer and use it in GitHub Desktop.

Select an option

Save Gateswong/164a3f534bb09c9cee4de86eab1d80ef to your computer and use it in GitHub Desktop.
# ##############################
# Configs for EH Forwarder Bot
# ##############################
#
# Basic settings
# ----------------
#
# Master/Slave Channels
#
# Master channel:
# The channel that is mainly used to view/manage messages
# from slave channels.
# Currently only 1 master channel is supported.
#
# Slave channels:
# Channels that are hosted on the server and being delivered
# to and from the master channel.
# You may have more than 1 slave channel.
#
master_channel = 'plugins.eh_telegram_master', 'TelegramChannel'
slave_channels = [('plugins.eh_wechat_slave', 'WeChatChannel')]
#
# Plugin specific settings
# --------------------------
# Plugin specific settings should be written below in the format of:
# `channel_name = {"key1": "value1", "key2": "value2"}`
# Please refer to docs of individual plugin for details
#
eh_telegram_master = {
"token": "xxxxxxxxx",
"admins": [111111111],
"bing_speech_api": None,
"baidu_speech_api": None
}
eh_wechat_slave = {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment