1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-25 14:47:29 +00:00
Commit graph

419 commits

Author SHA1 Message Date
Myned
916f4eb782 Added helper for aspect ratio 2017-11-19 23:29:24 -05:00
Myned
ea48d7c6bf WIP confidence intervals for suggested tags 2017-11-19 23:29:05 -05:00
Myned
d661a946ea WIP per-month updates for suggested tags 2017-11-19 23:28:17 -05:00
Myned
283aa9830d Unified qis and ris into respective ris commands 2017-11-19 23:25:30 -05:00
Myned
4735f3ea2a Testing for WIP e6 info command 2017-11-19 23:18:05 -05:00
Myned
972bdf7cab Consistency fix 2017-11-19 23:10:48 -05:00
Myned
a5c334edfb Added newline to exec/eval command output 2017-11-19 23:08:59 -05:00
Myned
c7889c2c94 Lowered invite deletion timer to 5 secs 2017-11-19 23:06:24 -05:00
Myned
5168c025c5 Removed previous testing for lastcommand 2017-11-19 23:05:38 -05:00
Myned
293f2c6f5f Finished generate_embed helper 2017-11-19 23:03:04 -05:00
Myned
c49f33d2fd Definition logic 2017-11-19 23:02:24 -05:00
Myned
52fdf8eac0 Fixed error traceback 2017-11-19 23:01:06 -05:00
Myned
2334dada9e Uncommented logger for warnings 2017-11-19 23:00:55 -05:00
Myned
f232eee071 Changed 10 sec timer for command result deletion to 7 secs (too long) 2017-11-19 22:55:38 -05:00
Myned
4a18ec2bae Changed command completion reactions to globally activate for simplicity 2017-11-19 22:55:34 -05:00
Myned
5bb47547bd Added lastcommand 2017-11-19 22:55:28 -05:00
Myned
852fe6b5a7 Lowered 10 min timeout for paginators to 7 mins 2017-11-08 23:49:12 -05:00
Myned
f68115901b Fixed tags not appearing in error output when internal timeout activates 2017-11-08 23:48:46 -05:00
Myned
8e9c37b092 Compressed temp blacklist creation 2017-11-08 23:48:12 -05:00
Myned
7a6ea6907f Added "als" alias for aliases command 2017-11-08 23:47:51 -05:00
Myned
a553efb0b6 WIP fix for double error with NSFW checkfail 2017-11-08 22:37:45 -05:00
Myned
16ff15b65d Fixed returned order interfering with sequential posts fetches 2017-11-08 22:37:04 -05:00
Myned
2b176a2853 Added ability for members with manage_messages to end paginators 2017-11-08 22:36:06 -05:00
Myned
9ed2c0a0ce Converted appropriate exceptions to inherit CommandError 2017-11-08 22:33:27 -05:00
Myned
918a2229db Added WIP NSFW exception 2017-11-08 22:32:48 -05:00
Myned
bd48744321 Added traceback to dm'd error logs 2017-11-08 22:32:28 -05:00
Myned
6d790fdbfe Added temp silencing of discord NotFound errors 2017-11-08 22:32:06 -05:00
Myned
107741dfac Removed underlining of guild for aesthetics 2017-11-08 00:11:10 -05:00
Myned
74abeb804c Changed error log formatting 2017-11-07 02:00:07 -05:00
Myned
06e07dc865 Converted appropriate waits to gathers for ease of use with exceptions 2017-11-07 01:50:44 -05:00
Myned
e550c7b14e WIP fixes for console command 2017-11-07 01:50:00 -05:00
Myned
1ccc1a10cc Added exec/eval commands and contextlib.redirect_stdout shortcut 2017-11-07 01:49:42 -05:00
Myned
172ae8f082 WIP HelpFormatter testing 2017-11-06 23:51:07 -05:00
Myned
1ccd79d64c Fixed IndexError on hearting post after last image notification 2017-11-06 23:49:10 -05:00
Myned
c5a2480cb7 Addition to WIP report command commit 2017-11-06 02:04:17 -05:00
Myned
607d80b6ce Testing shit 2017-11-06 02:02:08 -05:00
Myned
c7135b84f4 Added pouting face for negative scores 2017-11-06 02:01:31 -05:00
Myned
7462e073e8 Reverted direct emojis for \N syntax (again) for cross-compatibility
(Hopefully)
2017-11-06 02:00:58 -05:00
Myned
3f41ce2d7c WIP cross-server reporting command 2017-11-06 01:57:44 -05:00
Myned
61e60d1c56 Added global color 2017-11-06 01:56:52 -05:00
Myned
9c2804b562 Commented out pync macOS notifier for cross-compatibility 2017-11-06 01:56:05 -05:00
Myned
f486405fd7 Fixed emoji not found error 2017-11-01 20:00:33 -04:00
Myned
85989ad4d3 Lowered internal timeout for post search 2017-10-31 16:20:19 -04:00
Myned
c87555bfee Output formatting change 2017-10-31 16:13:54 -04:00
Myned
baba987697 Fixed tags still being limited with order: 2017-10-31 16:13:39 -04:00
Myned
91890a79e8 Added image url suggestion on not found error 2017-10-31 15:12:19 -04:00
Myned
a1d4dad92e Fixed footnote formatting 2017-10-31 15:10:36 -04:00
Myned
7e3e9d36f0 Removed score from paginator for aesthetic reasons 2017-10-31 14:27:30 -04:00
Myned
8b4a584aa3 Added e926 paginator 2017-10-31 14:21:42 -04:00
Myned
8d67775a7c Fixed url count 2017-10-31 00:49:02 -04:00
Myned
3388325aa5 Changed url list to dict w/ message to fix errors w/ references 2017-10-31 00:32:43 -04:00
Myned
12490206e5 Testinggggg 2017-10-30 23:36:28 -04:00
Myned
8eee78a70d Added ability to switch order:random tag for another order: 2017-10-30 23:35:40 -04:00
Myned
ba78274b36 Changed e621 icon to display score according to set ranges as emoji 2017-10-30 23:32:55 -04:00
Myned
17b8ccb895 Changed formatter to use any order: tag 2017-10-30 23:29:22 -04:00
Myned
801ee2be71 Changed "restart_(ch to chan)" to "startup_" for clarity with shutdown 2017-10-30 23:28:37 -04:00
Myned
ba10b668a7 Added restart/startup reaction to shutdown command 2017-10-30 15:48:00 -04:00
Myned
5df1703fb2 Added ability to change order tag 2017-10-30 15:44:41 -04:00
Myned
a3dd706674 Changed "0 or cancel" to 🛑 reaction for pool selection, tweaked format 2017-10-30 00:23:33 -04:00
Myned
5d053f2ca8 Added Abort exception init for passing message 2017-10-30 00:22:34 -04:00
Myned
80f15032f0 Added error catching for send command, changed to explicit lookup method 2017-10-30 00:21:45 -04:00
Myned
cf29e150d2 Added discord import alias 2017-10-30 00:21:00 -04:00
Myned
72850844c1 Converted \N unicode formatting to direct emojis for clarity 2017-10-30 00:20:40 -04:00
Myned
fdc2dd4631 Changed post author being displayed to artist(s) 2017-10-29 18:09:48 -04:00
Myned
d4707c7682 Reverted paginator method e6/pool combo to fix abort not catching 2017-10-29 17:56:38 -04:00
Myned
23954252a2 Added typing indicator for multiple pools 2017-10-29 17:55:40 -04:00
Myned
9271210342 Changed check-return to check-pass 2017-10-29 17:54:50 -04:00
Myned
2850d00d24 Cleaned unnecessary testing 2017-10-29 17:54:33 -04:00
Myned
0ebd06c4c1 Compressed history checks into one url loop, failed reaction tweak 2017-10-28 16:32:04 -04:00
Myned
0dc968f177 Fixed naming error 2017-10-28 16:30:46 -04:00
Myned
c6982862fd Tweaked command names 2017-10-28 16:30:07 -04:00
Myned
58db7ade4b Fixed naming error 2017-10-28 16:29:17 -04:00
Myned
ddc020e11d Removed periods from output for aesthetic purposes 2017-10-28 16:28:16 -04:00
Myned
dcc251496b Added current / total *ify status 2017-10-28 15:45:28 -04:00
Myned
985791e574 Removed colon from match output 2017-10-28 15:44:37 -04:00
Myned
844afd8600 Commented out WIP autopost command 2017-10-28 15:43:51 -04:00
Myned
7652f276cc Increased *ify limit to 30 2017-10-28 15:43:29 -04:00
Myned
10b876299a Changed to for missing commands for clarity 2017-10-28 15:42:02 -04:00
Myned
945840783b Removed bot user check for on_message for *ifying embeds 2017-10-28 15:41:11 -04:00
Myned
e74a3b0bc3 Optimized arg cleaning 2017-10-28 15:40:14 -04:00
Myned
6ee7a251d4 Removed redundant global definition 2017-10-28 15:39:04 -04:00
Myned
18bae80a1d Lowered rate for iqdb requests to reduce possibility of ip ban 2017-10-27 21:31:57 -04:00
Myned
21fc7d40fb Removed redundant "?id=" 2017-10-27 21:23:47 -04:00
Myned
06d5d562de Temporarily combined e6/pool paginator into one method for clarity 2017-10-27 21:08:52 -04:00
Myned
e51e2c124c Formatting tweak, removed try/except/finally block for logging purposes 2017-10-27 21:08:23 -04:00
Myned
1c212ee20d Added "0" in addition to "cancel" to abort wait_for 2017-10-27 21:07:49 -04:00
Myned
fac0cc58f0 Added getpool command 2017-10-27 21:07:06 -04:00
Myned
f1abf4e0b3 Testing n stuff 2017-10-27 21:06:41 -04:00
Myned
f121ccd3f8 Removed owner global access to paginator, starred > hearted, ordering 2017-10-21 16:45:26 -04:00
Myned
f96b5270c9 Added redundant check for image position input (> 0) 2017-10-21 16:44:05 -04:00
Myned
82729dc6c1 Added alias for paginator 2017-10-21 16:43:01 -04:00
Myned
51205c31bc Changed internal methods to use leading underscores 2017-10-21 16:42:32 -04:00
Myned
0658a62823 Lowered timeout for image position 2017-10-21 16:41:58 -04:00
Myned
4bd72a160f WIP endpoint command 2017-10-21 16:41:22 -04:00
Myned
3c09863a60 Error formatting tweak 2017-10-21 16:41:01 -04:00
Myned
04ec3b9955 Fixed commands not showing in help if checks fail 2017-10-21 16:40:36 -04:00
Myned
4528c6fe10 Testing with audit logs 2017-10-21 16:40:06 -04:00
Myned
4faa5b9bb7 Whitespace inconsistency 2017-10-21 16:39:11 -04:00
Myned
894cbf8687 Tweaked UA header 2017-10-21 16:38:49 -04:00
Myned
392679a26d Send command __ fix 2017-10-20 16:26:13 -04:00
Myned
3fa251114a Prefix command change to accommodate guild prefixes 2017-10-20 16:25:40 -04:00
Myned
8b0d3d5bb3 Added Execute and Evaluate exceptions to be caught in the command 2017-10-20 16:25:12 -04:00
Myned
12c577d9b1 2 > 4, WIP console tweaking 2017-10-20 16:24:43 -04:00
Myned
9edaac7803 Removed global nl 2017-10-20 16:24:19 -04:00
Myned
51a002bb3f 2 > 4 space 2017-10-20 16:23:27 -04:00
Myned
8a0ba12f20 Added prefixes dict to settings file 2017-10-20 16:23:01 -04:00
Myned
c1a0f5850d User-Agent tweak 2017-10-20 16:22:14 -04:00
Myned
dc63ec794e isdigit() 2017-10-20 16:20:47 -04:00
Myned
e927ccca9d Added "LOADED :" 2017-10-20 16:20:33 -04:00
Myned
22afd87d8b ⚠️ > \N{WARNING SIGN} 2017-10-20 16:19:58 -04:00
Myned
4d92778c8a Misc testing 2017-10-20 16:19:15 -04:00
Myned
1443dce356 on_message override to check if invoker is bot 2017-10-20 16:17:55 -04:00
Myned
d576e4d6a3 Compressed add_cog to for loop 2017-10-20 16:17:16 -04:00
Myned
1ecd790f83 Prefix per guild command 2017-10-20 16:16:05 -04:00
Myned
a74c08867a 2 > 4 space 2017-10-20 16:15:18 -04:00
Myned
8e0d8259fb suppress ValueError > isdigit(), reaction order logic 2017-10-20 16:14:24 -04:00
Myned
d86c695ee4 WIP auto e6 post command 2017-10-20 16:12:57 -04:00
Myned
30d558177e Reaction order tweak 2017-10-19 12:42:19 -04:00
Myned
ad5604db14 WIP help doc strings, added react add/remove, starred count, formatting 2017-10-19 04:40:50 -04:00
Myned
ff2ac1b587 Misc testing and shit 2017-10-19 04:39:41 -04:00
Myned
d137ad40b1 Compressed try/excepts into a suppressing for loop 2017-10-19 04:39:18 -04:00
Myned
144e90abc1 Converted emoji to unicode names, fixed emoji parsing w/ devon d.py fork 2017-10-18 14:09:13 -04:00
Myned
f96d36be0e Fixed appending to None 2017-10-17 23:32:32 -04:00
Myned
f76e4da5fc Comment change (because reasons) 2017-10-17 23:32:12 -04:00
Myned
b1e189c335 Added m, prefix 2017-10-17 20:46:43 -04:00
Myned
eaf6d0cd9f Caught limit out of bounds 2017-10-17 20:29:30 -04:00
Myned
389469bfbb Import error 2017-10-17 20:28:56 -04:00
Myned
09b456faf3 Hopefully fixed the various conceptual errors qwq 2017-10-17 20:13:40 -04:00
Myned
6f38e0bc8e 4 space > 2 space 2017-10-17 19:04:45 -04:00
Myned
f4da3c6705 Should fix improper returns 2017-10-17 19:04:34 -04:00
Myned
5ea671d764 Temp fix for temp folder not being created 2017-10-17 18:10:00 -04:00
Myned
1cc3a3736e Should fix wrong error catching 2017-10-17 18:04:43 -04:00
Myned
be805f9bb2 Included custom destination in hi command 2017-10-17 18:02:31 -04:00
Myned
5312e7a18b Converted history flattening and check to async iteration 2017-10-17 18:02:00 -04:00
Myned
e8b672b98e Converted message arg to consume all consecutive args as a single string 2017-10-17 18:01:15 -04:00
Myned
a5aff3da53 Tweaked base error output 2017-10-17 18:00:20 -04:00
Myned
bd46cfeccb Disabled logging for now 2017-10-17 17:59:58 -04:00
Myned
4d6659d167 Helper method for cleaning command args, implicit truth tweak 2017-10-17 17:59:44 -04:00
Myned
ca0d7c7400 Fixed success reaction on failure, added custom dest, fixed float limit 2017-10-17 17:59:08 -04:00
Myned
71ff248787 Fixed check not appending messages, added counter for remaining messages 2017-10-17 02:45:18 -04:00
Myned
daf8e1b1f3 WIP async for history(), unpin 2017-10-17 02:36:11 -04:00
Myned
74ac29d27c Formatting change 2017-10-17 02:29:06 -04:00
Myned
444d7e34c1 Increased deletion timeout to 10 mins 2017-10-17 02:28:44 -04:00
Myned
a9226660e6 Reverted change to uid 2017-10-17 02:25:23 -04:00
Myned
e9f46de6f3 d.Member -> d.User 2017-10-17 02:16:11 -04:00
Myned
c977a509f8 UID -> d.Member, pinned deletion message 2017-10-17 02:11:19 -04:00
Myned
347b121522 Fixed embed colors inhibiting dm command access 2017-10-17 01:52:06 -04:00
Myned
16fc5d663d Added dm report for on_error 2017-10-17 01:51:40 -04:00
Myned
b05561e254 Suppressed AttributeError for dms 2017-10-17 01:49:52 -04:00
Myned
16c7985942 Order of events logic with reactions 2017-10-17 00:41:58 -04:00
Myned
33a1a5f529 Added ability to remove starred images, fixed tags not adding to aliases 2017-10-16 23:49:15 -04:00
Myned
6cb1f18b5c Now logging errors in owner dms 2017-10-16 23:48:26 -04:00
Myned
5faf0eb5f5 Changed global rate limit to 2.2 from 2.1 2017-10-16 23:47:35 -04:00
Myned
17bc14bb20 Logging order 2017-10-16 23:47:16 -04:00
Myned
993dde4f73 Order of logging for most important logs 2017-10-16 23:47:02 -04:00
Myned
b9955b1c6c Pring id instead of name for anonymity 2017-10-16 23:46:31 -04:00
Myned
2573385361 Decorated commands with reactions, reverse > qualitify, formatting 2017-10-16 18:50:27 -04:00
Myned
5b4825954d Placeholder auto_rev command 2017-10-16 18:49:32 -04:00
Myned
e139ad7106 Added subject-to-change restart reaction to invocation ctx, info_channel 2017-10-16 16:52:54 -04:00
Myned
ab67ebc0c4 Added check for manage_channels 2017-10-16 15:58:05 -04:00
Myned
1953a06f9f Added reactions on most commands, changed manage_channels to messages 2017-10-16 15:51:33 -04:00
Myned
dabd472753 Added config option "playing" 2017-10-16 14:07:10 -04:00
Myned
f610a341be Removed listed_ids 2017-10-16 14:06:46 -04:00
Myned
e1a582be05 Added json functionality to helper methods 2017-10-16 14:06:31 -04:00
Myned
e6e9b59791 Fixed pool command, formatting 2017-10-16 13:18:17 -04:00
Myned
7a7a4e8130 Added auto_reverse command 2017-10-16 03:27:21 -04:00
Myned
72279ef005 Misc tweaks 2017-10-16 03:27:00 -04:00
Myned
d8d4b85074 Added auto_rev 2017-10-16 03:26:47 -04:00
Myned
d8618303a4 Added reverse image all, quality image all, get image commands 2017-10-16 02:08:20 -04:00
Myned
f63d7f65df try/except to suppress() 2017-10-16 02:07:15 -04:00
Myned
e21909faec FavoritesNotFound added to exceptions 2017-10-16 02:06:50 -04:00
Myned
3de252c96b get_image() from post 2017-10-16 02:06:33 -04:00
Myned
5c453cad41 Commented out unused code, WIP embed generator 2017-10-16 02:06:08 -04:00
Myned
384dadc93a Fixed http icon_url 2017-10-15 17:21:08 -04:00
Myned
a0da23dd92 Fixed loop changing end tag, logical method name, removed a alias 2017-10-15 16:18:09 -04:00
Myned
9ca2a745d9 Caught argument errors and rxed the exception for output 2017-10-15 15:32:35 -04:00
Myned
2cf9faf08f Support multiple attachments/urls, fixed missing args, added rate limit 2017-10-15 14:20:11 -04:00
Myned
f658918473 If/else order change, formatting 2017-10-15 13:31:05 -04:00
Myned
bee97afc3e Fixed MissingArgument 2017-10-15 13:30:40 -04:00
Myned
cb5d3549e4 Redundant is True 2017-10-15 12:58:30 -04:00
Myned
bfc39d7a99 WIP task cancellation on loop close, formatting 2017-10-15 12:58:16 -04:00
Myned
06c7428cc2 Converted except passes to suppress(), * > ctx.*, cleaned some code 2017-10-15 12:57:31 -04:00
Myned
1c0c63143f Create a single task to delete messages from any channel for rate limits 2017-10-15 02:14:34 -04:00
Myned
30f782ec95 Formatting change 2017-10-15 02:13:41 -04:00
Myned
b284bf837c Shortened u.tasks to not include the cog 2017-10-15 02:13:28 -04:00
Myned
d3471e7e51 msg > message 2017-10-15 01:50:37 -04:00
Myned
f706b4a18d Added ability to queue messages for deletion if they exist before cache 2017-10-15 01:49:10 -04:00
Myned
f85e969dc6 Caught failures to delete command invocations 2017-10-15 01:35:20 -04:00
Myned
0b6b964504 WIP testing for help command 2017-10-15 01:34:52 -04:00
Myned
85f7fc9430 Formatting change 2017-10-15 01:34:34 -04:00
Myned
f94303da60 Changed http icon url to local 2017-10-15 01:34:15 -04:00
Myned
a346dfca7e Formatting changes, changed to errext, caught CheckFailure 2017-10-14 23:41:42 -04:00
Myned
3c55f9bb05 Added settings.pkl for del_ctx checks 2017-10-14 23:40:56 -04:00
Myned
9a1d225b9b Fixed r.read() raising ClientConnectionError
Context manager was closing the request before methods could be run on it
2017-10-14 22:37:57 -04:00
Myned
ca530e1182 ctx.* shortcut 2017-10-14 21:55:10 -04:00
Myned
84f45d4f7d Formatting tweaks 2017-10-14 21:54:29 -04:00
Myned
33891cb409 Error output to ctx helper method 2017-10-14 21:54:18 -04:00
Myned
cecd1f3abc Changed session pool to be active only when needed
(issues arose with a globally active session)
2017-10-14 21:53:55 -04:00
Myned
00eec657da stdout and stderr output tweaks, ctx.* shortcut, WIP macOS notifier 2017-10-14 21:52:21 -04:00
Myned
42adc28e09 Added WIP favorites command 2017-10-14 15:29:53 -04:00