diff --git a/icqnotify.py b/icqnotify.py index 5fd862b..f05e663 100755 --- a/icqnotify.py +++ b/icqnotify.py @@ -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: @@ -21,4 +21,4 @@ def send(message): if __name__ == '__main__': message = ' '.join(sys.argv[1:]).strip().replace("\\n", "\n") - send(message) \ No newline at end of file + send(message)