Commit Graph

99 Commits

Author SHA1 Message Date
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
Lonami Exo 15169e0bb6 Create a Storage class and inject storage on plugins 2018-04-23 13:19:55 +02:00
Dan Elkouby cf36b5bd4a
Merge pull request #2 from Lonami/master
Add more known sedbots to plugins/re
2018-04-20 11:58:06 +03:00
Lonami Exo 598f41c01a Add more known sedbots to plugins/re 2018-04-20 10:54:37 +02:00
EyeZiS 058bfc118d
fix group_has_regex 2018-04-10 21:34:28 +02:00
EyeZiS 749019141d use appendleft instead of append
Signed-off-by: EyeZiS <tabhooked@gmail.com>
2018-04-10 21:33:35 +02:00
EyeZiS 193c90336f
port re from walrinator 2018-04-10 21:18:10 +02:00
udf 54468c493f port axe from kateborg
this more of an exercise to learn asyncio than it is an actual plugin
2018-04-09 01:56:42 +02:00
udf 98bdf910e4 make await_event stop propagation only if the filter raises 2018-04-08 22:13:37 +02:00
udf 32e9a20f39 remove unnecessary strip 2018-04-08 19:07:12 +02:00
Dan Elkouby 61b90bd9e8 fix 2018-04-08 18:07:05 +03:00
Dan Elkouby a807187b92 Require whitespace before args in ninja 2018-04-08 18:03:35 +03:00
udf 9a2c91160e Merge branch 'master' of https://github.com/uniborg/uniborg 2018-04-08 16:54:34 +02:00
udf 923f04e688 add .edit command to ninja
it's now a full port from kateborg
2018-04-08 16:53:21 +02:00
Dan Elkouby cd36ccf552 🎨 2018-04-08 17:44:09 +03:00
Dan Elkouby 3cdb595b55 Handle bot tokens 2018-04-08 17:30:50 +03:00
Dan Elkouby 881266f96e Stop propagation of awaited events 2018-04-08 16:09:57 +03:00
Dan Elkouby 4c7923dd44 Cache own user object 2018-04-08 15:43:51 +03:00
Dan Elkouby 3660e22036 Partial port of ninja.py from kateborg 2018-04-08 15:43:23 +03:00
Dan Elkouby 1ec12184fe Add await_event 2018-04-08 15:42:31 +03:00
Dan Elkouby 3f39e88394 Add core plugin with basic admin commands 2018-04-08 01:09:02 +03:00
Dan Elkouby 251900eef9 Add missing license headers 2018-04-07 23:30:30 +03:00
Dan Elkouby ad5c3f2d18 \m/ 2018-04-07 23:20:16 +03:00
Dan Elkouby 8c610b95e6 Initial commit 2018-04-06 18:47:57 +03:00