Commit Graph

96 Commits

Author SHA1 Message Date
Lonami 2a5e9aac94 Simplify code 2018-12-17 22:21:16 +01: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
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
EyeZiS def5d5d651
Use literal . in regex for commands 2018-06-14 20:03:14 +02:00
Dan Elkouby 15d8b312f4 Rename re(gex) plugin to sed 2018-06-13 21:31:48 +03:00
udf 238ff05f20 Fix markdown's reparse function (#11) 2018-06-11 13:26:12 +02: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
udf 8c58ea65e1
Merge pull request #4 from expectocode/improvements
Improvements
2018-06-03 14:02:39 +02:00
udf 348e0f2d0a
fix missing await 2018-06-02 21:18:59 +02:00
Tanuj b6f3c4d199 fix ninja failing on replies 2018-06-01 02:13:09 +01:00
Tanuj 34c8c2d682 make snip deletion permanent 2018-06-01 01:32:38 +01:00
Tanuj 5c175821a0 create stdborg requirements file 2018-06-01 01:18:34 +01:00
Tanuj 6bf457793c Use event.chat_id instead of event.input_chat
saving an await and a potential exception if input_chat could not be
found
2018-06-01 01:18:34 +01:00
Tanuj cfd6004dd9 Recognise more sedbots 2018-06-01 01:18:26 +01:00
Tanuj 9959a5fdef Add regex to requirements.txt 2018-06-01 00:53:51 +01:00
udf b434a1ec8f
Use \w+ for inline text snippets
fixes not `!lenny?` not working
2018-05-27 11:20:22 +02:00
Dan Elkouby 3457db917f fix 2018-05-18 16:48:44 +00:00
Dan Elkouby 4d0198b060 Add all plugin 2018-05-18 16:46:18 +00:00
Dan Elkouby b23be7d013 headpat: ignore forwards 2018-05-16 19:16:38 +00:00
Dan Elkouby a851b5193e aesthetics: support editing messages 2018-05-13 21:07:12 +00:00
Dan Elkouby 02b1a949b0 aesthetics: clean up, fix spaces 2018-05-13 20:54:58 +00:00
Dan Elkouby 85b68dd259 Add aesthetics plugin 2018-05-13 20:42:59 +00:00
Dan Elkouby 8103d011dd axe shit out 2018-05-13 15:57:59 +00:00
Dan Elkouby b72ddba35e headpat: rework style 2018-05-13 13:33:40 +03:00
Dan Elkouby dbf561880e re: add message header to prevent abuse 2018-05-13 13:25:52 +03:00
Lonami Exo a99848267f Support .unload as an alias for .remove 2018-05-11 12:45:57 +02:00