This commit is contained in:
Brieuc Dubois 2023-12-19 09:22:17 +01:00
parent b44f42547b
commit a2eff32362
2 changed files with 3 additions and 3 deletions

View File

@ -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 = []

View File

@ -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