Commit Graph

121 Commits

Author SHA1 Message Date
kate fe6b878064 Fix info formatting in some cases (#8) 2019-05-19 23:10:01 +02:00
Lonami 168ee165b9 await the now async remove_plugin 2019-04-30 20:44:08 +02: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 c2197e5280 Disable markdown in sed 2019-04-27 10:22:36 +00:00
Dan Elkouby ca5619b9cc Add fpost plugin 2019-03-31 21:58:32 +00:00
Lonami b4be66162e Fix fixreply on different chats 2019-03-04 08:05:40 +01:00
Lonami Exo 59a0ebe9dc Add fixreply plugin 2019-02-27 13:20:24 +01:00
Dan Elkouby 88a8b4e0d3 Add a timeout for sed 2019-02-26 22:27:01 +00:00
Dan Elkouby a53b5fb147 Revert "s/regex/re/g"
This reverts commit dc2eefd581.
2019-02-26 21:10:21 +00:00
Lonami dc2eefd581 s/regex/re/g 2019-02-26 18:52:57 +01:00
Lonami 84e3c4bef8 Support enclosing circle in markdown 2019-02-21 13:22:49 +01:00
Dan Elkouby d274f79d87 Allow sending a snippet with ! 2019-02-18 17:44:42 +00:00
Lonami 03e922ed86 Don't save unexisting snips on .snip 2018-12-28 22:27:41 +01:00
Lonami 319eb84c5a File reference 2018-12-26 22:10:02 +01:00
Lonami a254c113a7 Fix markdown parse edge case 2018-12-21 18:25:16 +00:00
Lonami c41792af6b Simplify aesthetify 2018-12-19 14:58:49 +00:00
Lonami facd436014 Strikethrough support in markdown 2018-12-19 14:52:13 +00:00
Lonami 2c75fb25a3 Support .reload to reload commands 2018-12-19 15:50:12 +01:00
Lonami ca7b636696 Merge branch 'ninja_fix' of kate/uniborg into master 2018-12-18 00:02:40 +01:00
Lonami f46a08adf1 Merge branch 'master' of kate/uniborg into master 2018-12-18 00:01:45 +01:00
Lonami c35dcbf26d
Simplify code
(cherry picked from commit 2a5e9aac94)
2018-12-18 00:53:59 +02:00
Lonami 5438f95f34 Actually write the method name to mkdir on storage 2018-12-17 17:55:53 +01:00
udf 74f0cea230
Fix ninja in saved messages
I'm not sure why you'd use ninja in your own chat, but it shouldn't raise anyways.
2018-11-21 23:24:33 +02:00
udf 35b6e7d1e4
Return immediately in some cases instead of using the result list
I like it better now, but I still dislike it; We need to rewrite the entire function
2018-11-21 22:49:17 +02:00
udf 778a604d69
Prepend list items with "- " 2018-11-21 22:45:01 +02:00
udf e760062218
Minor code cleanup 2018-11-21 22:34:11 +02:00
Dan Elkouby d5f70423a3 stdplugins/who: link user by ID 2018-11-08 11:00:19 +00:00
udf 5935c19387
Add message info plugin 2018-11-04 14:58:37 +02:00
Dan Elkouby beacc8c305 Add chain plugin 2018-11-02 19:15:37 +00:00
Lonami ddcb347527 Alias remove as "disable" too
We're bad at remembering names.
2018-09-17 19:14:39 +02:00
Dan Elkouby 9f5eee1420 @Lonami scolded me 2018-08-28 10:16:17 +00:00
Dan Elkouby caead8435e Add whois plugin 2018-08-28 08:44:33 +00:00
Dan Elkouby afc96c89d9 s/[[sed]]/「sed」/ 2018-08-25 11:51:50 +03:00
Lonami 3efb5a09a0
Fix moved import
That's what you get for importing private members
2018-07-19 09:59:33 +02:00
Никита Конин f80b450fcf add *.session-journal to `.gitignore` 2018-07-03 11:26:45 +03:00
Lonami Exo 199d9b15ea Fix sed plugin ignoring edits 2018-07-02 15:30:21 +02:00
Dan Elkouby e809a721b4 Remove headpat plugin 2018-07-01 22:02:30 +03:00
Dan Elkouby c1e3b2f3c3 Don't allow unloading _core
Prevents getting stuck with no way of administrating the bot
2018-07-01 17:44:56 +03:00
Lonami f1141aa24f
Create README.md 2018-07-01 16:14:02 +02:00
Dan Elkouby 4805f2f6de Fix #13 2018-07-01 16:19:27 +03:00
Dan Elkouby 773190dd1e all: handle replies 2018-06-24 15:49:45 +03:00
Lonami Exo 961d6c1445 Update to latest Telethon master 2018-06-22 10:46:39 +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
Dan Elkouby f0e7d16276 Move aesthetics functionality into markdown 2018-06-14 19:20:41 +00:00