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

286 commits

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