1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-26 15:07:27 +00:00
Commit graph

570 commits

Author SHA1 Message Date
Myned
59c0f93229 Fixed hearted assigning a reference instead of copying the embed 2017-11-21 06:14:12 -05:00
Myned
dbaa930d57 Added ability to cancel GoTo with an input of 0 2017-11-21 06:12:30 -05:00
Myned
7e6abef2a5 Added score return for _get_pool 2017-11-21 06:11:09 -05:00
Myned
7d37eb58bf Fixed Save exception forcing user parameter 2017-11-21 06:10:27 -05:00
Myned
4edab67c61 Added __init__ for hearted task 2017-11-20 11:39:39 -05:00
Myned
ea85496ede Changed 'url' to 'file_url' for consistency 2017-11-20 11:39:08 -05:00
Myned
891762d069 Converted edit(content) updates to use emojis in most cases 2017-11-20 11:38:27 -05:00
Myned
65f65c882a Added ability for any user to heart single e6 posts 2017-11-20 11:36:34 -05:00
Myned
a80a1c27fe Formatting and naming changes 2017-11-20 11:30:14 -05:00
Myned
88b3c9f506 Added multiple commands to lastcommand blacklist 2017-11-20 11:28:33 -05:00
Myned
a9491dacb7 Added ignoring of bot messages in on_message 2017-11-20 11:27:52 -05:00
Myned
a88256031a Fixed reactions on startup 2017-11-20 11:26:16 -05:00
Myned
577b7e9e58 Fixed hearted embeds not being referenced and added index to footnote 2017-11-20 08:48:44 -05:00
Myned
881b29a22d Fixed startup reactions not working properly and cleaned represenation 2017-11-20 08:45:49 -05:00
Myned
80cb054023 Moved settings.pkl to misc and temp.pkl to temp (requires deletion) 2017-11-20 08:44:56 -05:00
Myned
e2c770e620 Fixed username command referencing Client instead of ClientUser 2017-11-20 06:36:24 -05:00
Myned
3180a9dc60 Missed id > name conversion 2017-11-20 06:29:16 -05:00
Myned
6346e7c1f7 Changed stdoutput to use channel names instead of IDs 2017-11-20 06:27:18 -05:00
Myned
b21d3f7a96 Removed missed qual > rev conversion 2017-11-20 06:23:25 -05:00
Myned
d23c05049e Converted commands module to use alias cmds 2017-11-20 06:18:42 -05:00
Myned
c651ce7a0a Changed set prefix command to allow multiple prefixes 2017-11-20 06:11:29 -05:00
Myned
22aa1787e3 Added settings group command, moving delcmds and setprefix 2017-11-20 06:11:05 -05:00
Myned
deb93e5ac3 Added prune group command and changed pfg to prune user all 2017-11-20 06:09:40 -05:00
Myned
b1b8aa6b98 Added change_username command 2017-11-20 06:08:31 -05:00
Myned
7575875f88 Added change log to game command 2017-11-20 06:08:16 -05:00
Myned
490cb68dae Changed to use intrinsic boolean value of None types 2017-11-20 06:05:08 -05:00
Myned
02edb24d86 Changed upload commands to be hidden 2017-11-20 06:04:45 -05:00
Myned
b1abb69303 Moved del_ctx to on_command_completion and removed decorators 2017-11-20 06:04:32 -05:00
Myned
8c83abca80 Secondary test command 2017-11-20 06:01:23 -05:00
Myned
ea4a12024b Changed description, added help_attrs (help alias), added pm_help=None 2017-11-20 06:01:07 -05:00
Myned
ed0cdd837d Removed pre-definition of HelpFormatter 2017-11-20 06:00:12 -05:00
Myned
bcc1273fbe Compressed get_prefix referencing 2017-11-20 05:58:40 -05:00
Myned
fe5fa3c518 Commented out WIP HelpFormatter to temp fix help command 2017-11-20 05:57:41 -05:00
Myned
f4e34b3a90 Added score to reverse output and changed deletion logic 2017-11-20 02:21:35 -05:00
Myned
77687e93dd Added error catching for SizeError 2017-11-20 02:20:30 -05:00
Myned
a967eaedf0 Removed pre-rate limit from reverse commands 2017-11-20 02:19:47 -05:00
Myned
5b2bed29ef Removed redundant str() conversion 2017-11-20 02:18:44 -05:00
Myned
d8feb29330 Fixed references to deprecated auto_qual 2017-11-20 02:18:19 -05:00
Myned
f3daa5209a Beautify 2017-11-20 02:17:14 -05:00
Myned
e997c242ea Added task removal on guild leave 2017-11-20 02:15:20 -05:00
Myned
7caf76d84f Removed auto_qual from task list (requires task file deletion) 2017-11-20 02:14:34 -05:00
Myned
3705d11c19 Added check for filesize before requesting from iqdb 2017-11-20 02:14:16 -05:00
Myned
c129f00ff3 80 character per line compliance 2017-11-19 23:42:20 -05:00
Myned
814d8eaf25 Change to use intrinsic boolean value for None types 2017-11-19 23:41:51 -05:00
Myned
36bf46753e Converted paginators to heart embeds instead of direct links 2017-11-19 23:41:01 -05:00
Myned
6099c5aad3 WIP e6 get group command 2017-11-19 23:39:32 -05:00
Myned
2162bdfc51 Combined aliases/related-tags into group command and improved output 2017-11-19 23:36:54 -05:00
Myned
cada654d9f Moved internal methods to top of methods 2017-11-19 23:34:37 -05:00
Myned
3bdf7f88d7 Fixed autopost referencing incorrect variables 2017-11-19 23:33:45 -05:00
Myned
5357de24b3 Removed redundancy 2017-11-19 23:33:10 -05:00
Myned
02488d3378 Fixed favorites command 2017-11-19 23:32:09 -05:00
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
Myned
a3d906e63e Checked for session creation before closing, formatting change 2017-10-14 15:29:35 -04:00
Myned
b3435e3316 Overrode on_error to close connections and open terminal with traceback 2017-10-14 15:29:01 -04:00
Myned
225bebff0a Removed redundant "./" from file declarations, changed d.errors to err. 2017-10-14 15:28:00 -04:00
Myned
0777573193 Formatting, startup logic changes 2017-10-13 23:59:14 -04:00
Myned
a9178b0204 utils.config 2017-10-13 23:43:37 -04:00
Myned
81d8a31ea6 Converted to .format() 2017-10-13 23:41:32 -04:00
Myned
f0f0850c0e Changed tag command to search related tags, .format(), formatting, ctx 2017-10-13 23:40:38 -04:00
Myned
e72e0ae24f Converting string concatenation to .format 2017-10-13 23:39:48 -04:00
Myned
ada3aac86a utils.config 2017-10-13 23:39:12 -04:00
Myned
70c863062b utils.config, formatting fix 2017-10-13 23:38:58 -04:00
Myned
efd035fce5 Moved config file creation and loading into utils 2017-10-13 23:38:27 -04:00
Myned
2ff61c4794 Fixed alias name conflict, check for no command arg, pass ValueError 2017-10-13 21:57:57 -04:00
Myned
80050b9541 Added changing game status, removed prefix for exit, cleaned try/except 2017-10-13 21:53:44 -04:00
Myned
48b17e3ab2 Changed int() to round() to be slightly more accurate 2017-10-13 21:52:03 -04:00
Myned
5e65dcbb8f Passed CommandNotFound error, WIP dual reaction events 2017-10-13 21:51:38 -04:00
Myned
841470655c Added post author and pool name to e6 commands 2017-10-13 04:19:49 -04:00
Myned
62e95e5188 Changed all whiles to use bot connection status instead; WIP event loop 2017-10-13 01:24:57 -04:00
Myned
a905f3b945 Renamed background.pkl to tasks.pkl 2017-10-13 01:23:47 -04:00
Myned
33c80c7afd Fixed task reconnect, moved global LIMIT, various other stuffs 2017-10-13 01:23:18 -04:00
Myned
5d4e49bb4d Converted manual channel mention to implicit 2017-10-12 22:49:19 -04:00
Myned
d69ea81430 Whole bunch of miscellaneous tweaks that won't fit in summary, autopep8
Compacted try/except file creation blocks into an outsourced method, moved global variables to class instantiation, converted blacklists and alias list to sets that save to .pkl instead of .json, added pool paginator, various formatting changes,
2017-10-12 22:34:48 -04:00
Myned
da6ad9ba8e Removed redundant scraper methods, autopep8 2017-10-12 22:30:40 -04:00
Myned
af9ed570a2 autopep8, aiohttp session methods 2017-10-12 22:30:07 -04:00
Myned
8f304893e3 WIP testing for dual reaction add/remove event listeners, moved commands 2017-10-12 22:28:16 -04:00
Myned
1f794ffd6f autopep8 and isort 2017-10-12 22:27:21 -04:00
Myned
25afa93aa3 Moved owner commands to Bot class, undid unpythonic formatting 2017-10-12 22:26:57 -04:00
Myned
2bd2808bfc Cleaned up formatting with autopep8 2017-10-12 22:26:22 -04:00
Myned
da78317188 Moved setdefault to the if statement, changed output, added error catch 2017-10-11 11:26:26 -04:00
Myned
9c06d7bfa9 Removed traceback limit 2017-10-11 11:25:37 -04:00
Myned
f29750a78f Exception error change and pass for NotFound 2017-10-11 11:15:26 -04:00
Myned
5264a93050 Rate limited post saves over 5 2017-10-11 11:09:15 -04:00
Myned
a9b7689760 Added Exists exception class 2017-10-11 11:08:46 -04:00
Myned
de967d68cb Changed default perms 2017-10-11 11:08:32 -04:00
Myned
6f6d6be9df Checked for channel before looping 2017-10-11 11:08:18 -04:00
Myned
25c28a509f Added reaction paginator, WIP .format conversion, del blacklist 2017-10-11 03:12:13 -04:00
Myned
79c53fd8d0 WIP temp images to clear periodically 2017-10-11 03:11:00 -04:00
Myned
a6e2b50b1c Pruning all user messages, WIP command structure, channel auto-delete 2017-10-11 03:05:05 -04:00
Myned
1415c92fcc WIP YouTube upload command 2017-10-11 03:01:13 -04:00
Myned
89329f52c3 Console command and arbitrary code execution 2017-10-11 02:59:06 -04:00
Myned
4fd66713cb Added reaction exception classes to raise in except blocks 2017-10-11 02:58:17 -04:00
Myned
a439d8d917 Testing, on_ready cogs, .format conversion, and misc changes 2017-10-11 02:57:17 -04:00
Myned
e5fa7c35a6 Changed tostring to better format tag output 2017-10-11 02:55:49 -04:00
Myned
a99b9a9626 Added dev utils to facilitate methods and file access 2017-10-11 02:54:32 -04:00
Myned
48e442b5a2 Insourced restart command 2017-10-11 02:53:40 -04:00
Myned
0ee61c8084 Added prune all user command 2017-10-04 16:29:13 -04:00
Myned
dd284701ee Added base exception catching 2017-10-02 19:40:51 -04:00
Myned
08d7f160f8 Compacted class formatter for visibility 2017-10-02 19:38:44 -04:00
Myned
c8571d1c7a Added try/except blocks to subcommands 2017-10-02 19:37:58 -04:00
Myned
fd464d948f Added ctx.message deletion, small str change 2017-10-02 17:32:53 -04:00