Commit Graph

173 Commits

Author SHA1 Message Date
udf 64f971ee64 make thing better, idk 2018-06-10 19:54:00 +00:00
udf a07a352d1c use None as default parameter instead of empty list 2018-06-10 21:10:48 +02:00
udf a2a4b506cb Skip existing entities
It's a very hacky PoC, but it fixes things like urls being incorrectly parsed
2018-06-10 20:40:15 +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
eyezis d04d082c45 add shitpost plugins 2018-06-03 14:16:44 +02:00
eyezis 95fd4eec97 remove unused plugins 2018-06-03 14:16:00 +02: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
EyeZiS d6f5514c56
add some comments 2018-05-09 01:46:21 +02:00
EyeZiS 02b2b9d2aa
Don't count entities that can't be generated 2018-05-09 01:26:06 +02:00
EyeZiS 40f85c162b
parse text snippets 2018-05-09 00:52:13 +02:00
EyeZiS edd042190d
clean up parser 2018-05-08 23:56:44 +02:00
EyeZiS 969da5bcc9
parse /r/subreddit links 2018-05-08 23:53:00 +02:00
EyeZiS 84cac72099
add plugin that edits messages containing markdown tags 2018-05-08 23:22:17 +02:00
Lonami Exo 8cbb43799c Add headpat plugin 2018-05-07 20:10:26 +02: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 5ade1cf621 Fix snips should only work if outgoing 2018-04-24 10:11:13 +02:00
Lonami Exo 6a59f1d982 Let normal snip command also save if not existing 2018-04-23 16:17:31 +02:00
Lonami Exo bdb402e645 Add snip rename method 2018-04-23 16:14:08 +02:00
Lonami Exo 32acefa991 Respect original replies when sending a snip 2018-04-23 16:11:51 +02:00
Lonami Exo 95e900c1f6 Differentiate between sending and saving snips 2018-04-23 16:10:32 +02:00
Lonami Exo c1a025f4e2 Stop downloading media snip and respect their origin 2018-04-23 15:58:32 +02:00
Lonami Exo ec50e689b4 Add snipl and snipd commands 2018-04-23 14:09:46 +02:00
Lonami Exo 882fcfe471 Add plugins/snip 2018-04-23 13:57:52 +02:00
Lonami Exo 9c3b67f503 Fix storage wouldn't actually load back saved items 2018-04-23 13:39:57 +02:00
Lonami Exo 50d83c6538 Add missing copyright notice 2018-04-23 13:28:01 +02:00
Lonami Exo c5d5b2d6fa Rename telethon.py -> uniborg.py 2018-04-23 13:22:29 +02:00