add WEBHOOK_URL env variable
This commit is contained in:
parent
7f3eda5bb9
commit
b992f37663
1 changed files with 2 additions and 0 deletions
2
bot.py
2
bot.py
|
@ -1,5 +1,6 @@
|
|||
import asyncio
|
||||
import logging
|
||||
import os
|
||||
import pickle
|
||||
import re
|
||||
import textwrap
|
||||
|
@ -12,6 +13,7 @@ from ics import Calendar
|
|||
from config import Config
|
||||
|
||||
config = Config()
|
||||
config.WEBHOOK_URL = os.getenv("WEBHOOK_URL", config.WEBHOOK_URL)
|
||||
|
||||
|
||||
class State:
|
||||
|
|
Loading…
Reference in a new issue