configurable bot api

This commit is contained in:
Pavel Vorobyov
2020-06-10 10:41:46 +03:00
parent 04e4442ac2
commit 4899e46b41

View File

@@ -5,7 +5,7 @@ from bot.bot import Bot
ICQ_TOKEN = os.environ.get("ICQ_TOKEN")
ICQ_CHAT_ID = os.environ.get("ICQ_CHAT_ID")
ICQ_API_URL = os.environ.get("ICQ_API_URL", "api.icq.net")
def send(message):
if not ICQ_TOKEN: