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

214 commits

Author SHA1 Message Date
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
Myned
ac17187b1a Finished restart command 2017-10-02 17:29:39 -04:00
Myned
86311aba96 Placeholder for restart bot command 2017-10-02 15:24:57 -04:00
Myned
832acbba81 Added complete exception message from cogs/booru
also messing with youtube auths and uploading
2017-10-02 15:24:34 -04:00
Myned
8d11679435 Moved around cog adding to better align file creation 2017-10-02 15:22:52 -04:00
Myned
c45663930e Added listed ids dict 2017-10-02 15:22:12 -04:00
Myned
02e69edba7 Added check for list of permitted ids 2017-10-02 15:20:50 -04:00
Myned
41c5f86181 Fixed KeyError, added limit extension, and playing with last_command 2017-10-02 15:20:04 -04:00
Myned
9041af8463 Shrunk image precheck and fetching checks 2017-10-01 15:40:35 -04:00
Myned
97f3d3a1bc Combined separate blacklist files into one 2017-09-30 04:12:24 -04:00
Myned
8420f3ee57 Adding alias filtering and removed set command 2017-09-30 03:27:57 -04:00
Myned
b4346cb334 Added check for shutdown output 2017-09-27 14:49:21 -04:00
Myned
3c2f5c5cc0 STUFF AND THINGS OKAY 2017-09-27 01:36:27 -04:00
Myned
0f9c961966 Did stuff and things 2017-09-25 15:31:51 -04:00
Myned
0cb8f2876b Am g0 by3e 2017-09-24 16:33:48 -04:00
Myned
7259fb1766 "Fixed invite link command" 2017-09-24 15:30:30 -04:00
Myned
bb3721478f "Added prefix to config and fixed initial startup" 2017-09-24 15:13:36 -04:00
Myned
3d02095687 Fixed config file creation 2017-09-24 14:09:02 -04:00
Myned
139502c021 "Edited an indent" 2017-09-24 11:52:26 -04:00
Myned
ec927178b6 "Folder rename" 2017-09-24 11:32:35 -04:00