Commit Graph

19 Commits (b97d1649a46f640a778df2e56f2ae8db4955d45a)

Author SHA1 Message Date
Dan Elkouby b97d1649a4 Port tl plugin to bots 2020-08-02 15:08:46 +00:00
Dan Elkouby 475c3aebfd Rework admin_cmd to work for actual bots 2020-08-02 14:35:18 +00:00
Lonami 93cbb44459 Make unload_plugin async for reasons 2019-04-30 20:42:32 +02:00
Lonami febe3c4bac Be more careful when unloading plugin 2019-04-30 20:34:05 +02:00
Lonami c8b5179cb5 Allow plugins to define an unload function 2019-04-30 20:32:35 +02:00
Dan Elkouby 65277214fe Use connection_retries 2018-06-21 18:57:06 +03:00
Dan Elkouby 1d3ac0a215 fix 2018-06-17 20:06:31 +00:00
Dan Elkouby 23971d8a6a Fix missing await 2018-06-17 17:54:33 +00:00
Dan Elkouby b34b1c516f Quit failing
wank.party seems to have a garbage tier connection to Telegram, so work
around this by looping reconnects indefinitely, without crashing to
preserve runtime state.
2018-06-17 17:48:21 +00:00
Dan Elkouby 88fd76653a Update for newest Telethon master 2018-06-15 00:09:25 +03:00
Tanuj 2e82c440d0 Style enhancements (#7) 2018-06-10 19:12:53 +02:00
Dan Elkouby d54015e1b7 Allow overriding API ID and key 2018-06-10 08:16:49 +00:00
Dan Elkouby 80ba9bebb3 Use pathlib instead of os.path 2018-06-10 11:06:56 +03:00
Dan Elkouby 20886757ad Revert "Fix missing _loop in newer Telethon"
This reverts commit 5b80fb7c5b.

am rarted
2018-05-06 11:29:09 +00:00
Dan Elkouby e718245cdc Change API key
telethon.errors.rpc_error_list.ApiIdPublishedFloodError: This API id was published somewhere, you can't use it now
2018-05-06 11:29:09 +00:00
Dan Elkouby 694048ecfc Use per-instance path for persistent storage 2018-05-05 16:16:41 +03:00
Dan Elkouby 5310c55a93 Use a reversed range instead of while 2018-05-05 16:03:49 +03:00
Dan Elkouby 5b80fb7c5b Fix missing _loop in newer Telethon 2018-05-05 14:48:58 +03:00
Lonami Exo c5d5b2d6fa Rename telethon.py -> uniborg.py 2018-04-23 13:22:29 +02:00