Commit Graph

151 Commits

Author SHA1 Message Date
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