tg2
This commit is contained in:
parent
b44f42547b
commit
a2eff32362
4
main.py
4
main.py
|
@ -64,12 +64,12 @@ async def send_message(text):
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
auth=(os.environ.get('MATRIX_BASIC_AUTH_USER'), os.environ.get('MATRIX_BASIC_AUTH_PASS')),
|
auth=(os.environ.get('MATRIX_BASIC_AUTH_USER'), os.environ.get('MATRIX_BASIC_AUTH_PASS')),
|
||||||
json=json.encode(dic)
|
json=dic
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
await send_message('tg² telegram_bot is watching!')
|
await send_message(['tg² telegram_bot is watching!'])
|
||||||
|
|
||||||
last = []
|
last = []
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Tested versions. Upgrade at your own risks
|
# Tested versions. Upgrade at your own risks
|
||||||
tgtg==0.16.0
|
tgtg==0.16.1
|
||||||
python-telegram-bot==20.2
|
python-telegram-bot==20.2
|
||||||
|
|
Loading…
Reference in New Issue