diff options
author | Tim Schmidt <tim.schmidt@ewe.net> | 2018-12-03 17:22:53 +0100 |
---|---|---|
committer | Tim Schmidt <tim.schmidt@ewe.net> | 2018-12-03 17:22:53 +0100 |
commit | fbbd202a0416fbf5cfac8a8d2b4e43e86e15762b (patch) | |
tree | 40cd7c5be1c6b102fbb0f23ea7a2b82c234c0427 /config.py.sample | |
download | hchat-tg-bridge-fbbd202a0416fbf5cfac8a8d2b4e43e86e15762b.tar.gz hchat-tg-bridge-fbbd202a0416fbf5cfac8a8d2b4e43e86e15762b.zip |
initial commit
Diffstat (limited to '')
-rw-r--r-- | config.py.sample | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/config.py.sample b/config.py.sample new file mode 100644 index 0000000..a55ab42 --- /dev/null +++ b/config.py.sample @@ -0,0 +1,38 @@ +#!/bin/python + +######################### +## hack.chat config +######################### +# Name of hack.chat channel +CHANNEL = "sometestchannel" +# Username to be used the the HC bot +USER = "testuser" +# Password used for tripcode generation +PASS = "5azniuJ2m8BxYX9x2w8oRDVs" + +######################### +## Telegram config +######################### +# API token for the Telegram bot (you get this from @BotFather) +API_TOKEN = "---" +# ID of chat between your TG account and the TG bot +# The TG bot will reject anyone else trying to message it and only listen on +# your 1-to-1 chat with it +# To get your chat ID, enter the API token above, run telegrambot.py +# (not control.py) and start a chat with your bot on Telegram. +# The bot will reply with the CHAT_ID on Telegram when you send /start. +CHAT_ID = -1 + +######################### +## Miscellaneous +######################### +# Amount of seconds to wait before trying to reconnect +RECONNECT_DELAY = 30 +# Name of logfile +LOG_FILENAME = "log-%s.log" % CHANNEL + +######################### +## Auto-generated values +## DO NOT CHANGE! +######################### +USER_AND_PASS = "%s#%s" % (USER, PASS) |