Commit Graph

176 Commits

Author SHA1 Message Date
blank X e4ad50241b
Handle errors on log ring worker 2021-03-29 15:15:41 +07:00
blank X 16a4b6850b
Cap the amount of featured shows to be 5 2021-03-29 10:18:10 +07:00
blank X 3db00d9be5
here, we test on production 2021-03-28 18:28:35 +07:00
blank X 323015cfcf
forgot media['nodes']
idiot
2021-03-28 18:27:46 +07:00
blank X 009342225c
wow you can't even have a backslash in an fstring 2021-03-28 18:25:31 +07:00
blank X fe64b38339
Show featured in anime/manga/LN in character
hope it's gonna work
2021-03-28 18:22:18 +07:00
blank X 2ed2b0f0b0
Hide spoilers in anilist
yes i used regex to parse the html
2021-03-28 18:07:55 +07:00
blank X 67ad2cc4e5
Add [SCAM] 2021-03-22 00:03:01 +07:00
blank X 7c444f9dc7
Handle pyrogram.errors.exceptions.bad_request_400.ChatSendInlineForbidden in help 2021-03-11 11:36:15 +07:00
blank X 8210944fc9
Remove ~filters.forwarded in log_forwards and log_reports 2021-03-10 16:46:43 +07:00
blank X f62db3abf7
idiot v1.0 2021-03-10 16:02:19 +07:00
blank X 7574ec4821
change some things 2021-03-10 15:52:43 +07:00
blank X c3b08e0c5f
Show log ring in ping 2021-03-10 15:48:07 +07:00
blank X ce12028aa2
Remove (hopefully) unnecessary line 2021-03-10 15:44:54 +07:00
blank X 0ef940e065
Fix log_ring_worker 2021-03-10 15:43:49 +07:00
blank X aabc6d142f
Implement log ring 2021-03-10 15:27:11 +07:00
blank X 12bc8afa43
Change how handled messages are stored 2021-03-10 14:51:10 +07:00
blank X f137a327ce
Add new DEAI ban code and remove item from conversation_hack 2021-03-06 10:38:35 +07:00
blank X cc985e431b
Add .deleteall 2021-02-12 19:45:54 +07:00
blank X bbe65123e4
Show creator in .admins 2021-02-12 13:22:55 +07:00
blank X 65e5f328c2 Ignore all forwarded messages
this was a feature, not a bug but https://t.me/friendlytgbot/24
2021-01-29 22:01:52 +07:00
blank X e299639ae6 Sophie strings changed again 2021-01-19 13:57:12 +07:00
blank X 4833c7c9d2 Make eng: optional 2021-01-19 10:43:50 +07:00
blank X 47f30032f7 Remove extra \n 2021-01-19 10:41:37 +07:00
blank X 4b163a1195 Add missing \n 2021-01-19 10:40:33 +07:00
blank X 5a62db1bac Add eng: field for DEAI 2021-01-19 10:39:02 +07:00
blank X 7f7c70464d Fix reporting WhatAnime errors 2021-01-14 20:07:06 +07:00
blank X aff43c5a1a Fix SauceNAO spelling 2021-01-10 13:27:08 +07:00
blank X dfbe59caf0 Fix sophie string 2021-01-08 14:42:04 +07:00
blank X c0c61e922a Show [page] for .alc 2020-12-27 04:30:42 +07:00
blank X ef25699b25 Actually show bio for users in .info 2020-12-26 22:51:03 +07:00
blank X bba43fef3e Show bio for users in .info 2020-12-26 22:47:22 +07:00
blank X 207f3ee8ab Handle no results 2020-12-25 08:43:52 +07:00
blank X 018846b0c4 Fix NameError 2020-12-25 08:38:55 +07:00
blank X 0b2b204232 Reject animated stickers 2020-12-25 08:37:05 +07:00
blank X 71fb7c1051 Don't set to_thumbnail if low_similarity 2020-12-24 23:18:04 +07:00
blank X ba62714955 Get next high quality pic if it can 2020-12-24 23:16:37 +07:00
blank X 7b9ba65f1b Actually use images from pixiv 2020-12-24 23:10:48 +07:00
blank X a7de409535 Don't use images from pixiv over 10MB 2020-12-24 23:08:05 +07:00
blank X 5916b87190 Handle pixiv errors 2020-12-24 23:07:23 +07:00
blank X c897b3c598 SyntaxError 2020-12-24 23:00:38 +07:00
blank X f430d42f21 Add better pixiv support 2020-12-24 22:58:15 +07:00
blank X e2bae2efd5 More fixes 2020-12-24 22:09:02 +07:00
blank X eeb8ed0cc2 Fix some things 2020-12-24 21:58:18 +07:00
blank X 5f3f92a7fc Don't use result['data']['source'] 2020-12-24 21:56:55 +07:00
blank X 5f3172baf1 Add saucenao 2020-12-24 21:51:42 +07:00
blank X f85df657d1 Remove .file_ref since pyrogram removed it 2020-12-24 20:18:22 +07:00
blank X bb4a7d59f1 Fix AttributeError of NoneType case 2020-12-24 16:53:08 +07:00
blank X d5745aab31 Show linked chat 2020-12-24 16:47:35 +07:00
blank X 1dbde24525 Anonymous admin support for log_forwards and log_reports 2020-12-24 16:40:29 +07:00
blank X bc911d5baa Fixing more things
yay pyrogram 1.1.0
2020-12-24 16:18:55 +07:00
blank X 3eab6cdb08 Fix log_user_joins 2020-12-24 16:13:17 +07:00
blank X f91b9210f5 Fix support for pyrogram 1.1.3 2020-12-24 16:07:12 +07:00
blank X dc67e2155a Fix fix
oh my god this is the third push
2020-12-23 14:27:03 +07:00
blank X 385a66c6ec .rstrip instead of .lstrip
Test your code before pushing
2020-12-23 14:23:45 +07:00
blank X 7d4d4ad312 Do not .rstrip output from .sh
https://t.me/Memes10ks/241292
2020-12-23 14:22:27 +07:00
blank X 08b36db902 Don't log events that happen in the log chat 2020-12-22 21:37:53 +07:00
blank X aa295cffb3 Parse markdown for .exec 2020-12-20 21:12:39 +07:00
blank X 25e23ffe60 Parse markdown for .sh 2020-12-20 21:11:14 +07:00
blank X 0f33b4b114 Refactor yeetpurge 2020-12-15 20:16:15 +07:00
blank X a2fe972793 Change 'except Exception' to 'except BaseException' 2020-12-11 18:59:46 +07:00
blank X 5a3a7eca51 Make translate not ping 2020-12-10 20:51:47 +07:00
Justin Crawford 55a5b70c2f Include the PTID with spb's info 2020-12-07 22:07:24 +07:00
blank X b076dd0018 Add more DEAI ban codes 2020-12-04 21:32:50 +07:00
blank X 07b9f6da16 Disable link preview for translate 2020-12-03 20:28:38 +07:00
blank X 5727eaea20 Add support for local files in .cat 2020-12-03 17:57:25 +07:00
blank X eebaeef2f5 Show exit code if the response is a file 2020-12-01 19:28:48 +07:00
blank X f30f84015a Use a fork of googletrans since the original isn't working
https://github.com/ssut/py-googletrans/issues/234#issuecomment-736314530
2020-12-01 19:22:16 +07:00
blank X 5e63e72089 Handle "Anyway, they aren't fbanned in fed" 2020-12-01 14:24:47 +07:00
blank X b322ab7202 Import FloodWait 2020-12-01 09:42:19 +07:00
blank X 0766868d2b Floodwait handling for log_reports and log_forwards 2020-11-30 15:35:28 +07:00
blank X 2086c7b138 Make log_user_joins sleep for floodwait 2020-11-30 10:41:39 +07:00
blank X c0e1f55c01 Make info not puke a huge ass exception 2020-11-30 10:35:12 +07:00
Justin Crawford 55d41e65cc If output from .exec or .term is too long, send as a file instead
Signed-off-by: Justin Crawford <Justin@stacksmash.net>
2020-11-30 10:20:10 +07:00
blank X af06deebc1 Don't re-define functions in a loop 2020-11-29 11:12:38 +07:00
blank X 0508585194 Change "command without dot" to "command without prefix" 2020-11-28 18:10:12 +07:00
blank X 7daa29a2e2 Don't throw an exception when it cannot connect to nekos.life 2020-11-24 15:17:50 +07:00
blank X 81b3d012b8 Show exception class name 2020-11-18 20:09:09 +07:00
blank X bdd3c23a63 Fail better when data returned is not JSON 2020-11-18 19:04:07 +07:00
blank X 6a8058cb76 Hide pyrogram.errors.exceptions.bad_request_400.MessageNotModified in info.py 2020-11-16 16:51:42 +07:00
blank X 33d884b0ac Show and don't mention deleted accounts in .info 2020-11-16 16:11:51 +07:00
blank X 0bfe376149 Fix number queries with no page for anilist, Urban Dictionary and Wikipedia 2020-11-16 15:56:36 +07:00
blank X e55631bfb7 Document specifying page for anilist, Urban Dictionary and Wikipedia 2020-11-16 15:52:48 +07:00
blank X 0ea03f8fec Fix fix string 2020-11-16 15:49:03 +07:00
blank X 0bc8ab9dec Fix strings 2020-11-16 15:48:06 +07:00
blank X a590c6c7ee Handle anilist['status'] being null 2020-11-15 22:58:10 +07:00
blank X f80af447a2 Remove unnecessary variable 2020-11-15 22:57:24 +07:00
blank X 751dd0d49e Sort help_dict 2020-11-14 18:43:07 +07:00
blank X dbe09f3b19 Add wikipedia 2020-11-14 18:06:44 +07:00
blank X e16bf93f95 Change pyexec's internal name to exec 2020-11-14 18:00:41 +07:00
blank X e020e5e64e Removed unused import 2020-11-14 18:00:14 +07:00
blank X 7a6b426bb4 All nekos.life commands will reply to the replied to message 2020-11-12 16:09:47 +07:00
blank X 935d2cd8ce Show Light Novel for Anilist 2020-11-08 21:43:18 +07:00
blank X 54dce31d49 idiot 2020-11-08 08:54:21 +07:00
blank X 4b683129d4 Add chat link to User Add/Join Events if possible 2020-11-06 00:58:23 +07:00
blank X a080fe8e13 Change Spamwatch to SpamWatch
https://t.me/OwlAntiSpam/1792
2020-11-04 19:47:51 +07:00
blank X 9fca5050a6 idioter 2020-11-03 20:51:45 +07:00
blank X f48c394134 idiot 2020-11-03 20:32:41 +07:00
blank X ab330dc33b optimize stuff 2020-11-03 20:29:48 +07:00
blank X b65330eb31 Log forwards 2020-11-03 20:28:07 +07:00