1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 21:02:38 +00:00
Commit graph

572 commits

Author SHA1 Message Date
Dylan Dizon
b751ebc861 Fix and refactor _get_posts blacklisting logic 2018-11-15 15:43:53 -05:00
Dylan Dizon
024949390e Remove some of deprecated channel logic 2018-11-15 15:41:23 -05:00
Dylan Dizon
d46b912ae8 Streamline blacklist entries
~ Combine blacklists and aliases into one object
~ Remove guild entry in favor of channel (guild to be added as separate entry)
2018-11-15 15:40:24 -05:00
Dylan Dizon
9a673d6233 Fix formatter.paginate logic issues 2018-11-15 15:33:34 -05:00
Dylan Dizon
540549def2 Remove user ping in channel error log 2018-11-15 15:33:06 -05:00
Dylan Dizon
d8c5b743d4 Refactor kwargs pre-command method 2018-11-15 15:32:31 -05:00
Dylan Dizon
57faf39b96 Clean deprecated packages from Pipfile 2018-11-15 15:27:17 -05:00
Dylan Dizon
b099084571 Change terminology to reflect actual command flow 2018-11-08 22:32:46 -05:00
Dylan Dizon
b978148e0f Add suppressing of NotFound errors while deleting messages 2018-11-08 22:32:04 -05:00
Dylan Dizon
f06f743179 Remove unnecessary while loop 2018-11-08 22:31:45 -05:00
Dylan Dizon
e11090e2b5 Add cross mark emoticon to error response 2018-11-08 14:31:57 -05:00
Dylan Dizon
722d0d2291 Change catching of generic Exception to HTTPException for accuracy 2018-11-08 14:29:22 -05:00
Dylan Dizon
535da344a1 Fix missing reference 2018-11-07 17:22:20 -05:00
Dylan Dizon
f301dd37dc Fix preparation, reaction, formatting, exception, and removal logic 2018-11-07 00:03:17 -05:00
Dylan Dizon
b292fb62f7 Remove all get all blacklists commands 2018-11-07 00:02:04 -05:00
Dylan Dizon
ae484acedd Change menial 7 philosophy to 8 2018-11-07 00:01:38 -05:00
Dylan Dizon
4a2a013323 Migrate to Paginator use with long responses, possibly breaking 2018-11-07 00:00:00 -05:00
Dylan Dizon
4622123809 Fix incorrect reference 2018-11-06 23:55:51 -05:00
Dylan Dizon
d710e5bfaa Remove hi command 2018-11-06 23:55:28 -05:00
Dylan Dizon
8f103d0f27 Revert migration to destination resolving
Better implementation will be added in the future
2018-11-06 23:54:55 -05:00
Dylan Dizon
4feca45f5e Fix unhashable type list error 2018-11-06 17:41:01 -05:00
Dylan Dizon
9e26e6603d Fix command response overshooting character limit 2018-11-06 17:05:52 -05:00
Dylan Dizon
66191759b8 Fix aliases not dumping to file 2018-11-06 17:05:17 -05:00
Dylan Dizon
4bc86c8f59 Remove removal of reactions 2018-11-06 17:04:59 -05:00
Dylan Dizon
a22d3c6a8f Change formatting 2018-11-06 16:34:25 -05:00
Dylan Dizon
36075607e5 Add catching of empty arguments 2018-11-06 16:29:58 -05:00
Dylan Dizon
3f79a77601 Disable check mark on command completion 2018-11-06 16:29:26 -05:00
Dylan Dizon
74d1b6cb9b Add newline switch for different formatting logic 2018-11-06 16:29:12 -05:00
Dylan Dizon
f02bcd46fc Revert migration to post-alias dict logic in favor of clean get command
Still implements reaction-based alias remover
2018-11-06 16:15:34 -05:00
Dylan Dizon
c33c406814 Fix Forbidden exception from being thrown within command 2018-11-06 15:54:14 -05:00
Dylan Dizon
1c5f2b39a0 Fix missing permissions exception from being thrown to the enduser 2018-11-06 15:49:00 -05:00
Dylan Dizon
ff72e186b0 Fix reverse command always removing invocation 2018-11-06 15:38:13 -05:00
Dylan Dizon
a65716f77a Add permissions command to list contextual permissions 2018-11-06 15:22:44 -05:00
Dylan Dizon
41a4fb9055 Add formatting switches for different use cases 2018-11-06 15:22:02 -05:00
Dylan Dizon
a93cd158fa Add suppressing of permissions exception for cmd_completion reactions 2018-11-06 15:21:31 -05:00
Dylan Dizon
04f4af1f0e Add pprint to utils.py for global use 2018-11-06 15:20:31 -05:00
Dylan Dizon
a9c4a2ecee Add owner info to guilds command 2018-11-06 13:33:22 -05:00
Dylan Dizon
d512a6e879 Fix exception reference in on_error event 2018-11-06 13:24:31 -05:00
Dylan Dizon
456c795f75 Test exception output for reverse command 2018-11-06 13:23:55 -05:00
Dylan Dizon
1a014d4425 Fix ctx.message deletion logic 2018-11-06 13:23:17 -05:00
Dylan Dizon
15efdb5241 WIP migration to remove alias dict from blacklisting logic
in favor of adding all to a single context-aware blacklist, prompting the user to verify and remove unwanted aliases
2018-11-06 02:57:59 -05:00
Dylan Dizon
8c4da80d6c Remove all delete_after timers, will refactor later 2018-11-06 02:55:08 -05:00
Dylan Dizon
ac72df2cea Prune and clean vestigial packages from Pipfile
Also removed Python version requirement entirely
2018-11-03 20:07:41 -04:00
Dylan Dizon
fd7c4d44f5 Prune incomplete, vestigial, and irrelevant code
- Completely removed music cog for now
- Halted Google Play Music integration
- Removed "periodic_gpm" items from tasks file
2018-11-03 20:04:39 -04:00
Dylan Dizon
9c4223d0f5 Fix logic error 2018-11-03 17:07:48 -04:00
Dylan Dizon
55c97ae356 Remove deprecated name argument 2018-11-03 17:06:56 -04:00
Dylan Dizon
ef632a10b5 Fix aiohttp warning for ClientSession outside of async construct 2018-11-03 17:04:52 -04:00
Dylan Dizon
c51353df76 Change flag options to align with command standards 2018-11-03 17:03:47 -04:00
Dylan Dizon
57431b8de5 Remove close method entirely 2018-11-03 17:02:35 -04:00
Dylan Dizon
e96d98aee8 Add remove flag to reverse command 2018-11-03 17:01:50 -04:00
Dylan Dizon
fc1d00eff0 Remove manual rate limiting
discord.py now handles this internally
2018-11-03 17:00:36 -04:00
Dylan Dizon
c7fd155939 Add sending of reconnect message to owner 2018-09-05 22:03:54 -04:00
Myned
72055d5eb5 Fix deprecated parameter 2018-09-03 22:18:41 -04:00
Myned
9ea9c23426 Fix error reporting 2018-06-14 21:24:52 -04:00
Myned
a732f4e8e2 Fix for discord.py upgrade 2018-06-14 21:16:54 -04:00
Myned
f7c7247b92 Fix GoTo breaking in DMs 2018-06-14 21:15:25 -04:00
Myned
254a0d95b4 Catch database error 2018-06-14 21:15:03 -04:00
Myned
32dafac469 Fix error logs not showing channel 2018-05-11 12:35:15 -04:00
Myned
2f97cb650f Fix Forbidden error 2018-05-10 18:35:49 -04:00
Myned
5f3c313fe1 Fix DMChannel error reporting 2018-04-22 07:07:42 -04:00
Myned
53a6e6c90a Remove custom character limit for errors
Leads to frequent fatal errors
2018-04-19 22:39:00 -04:00
Myned
4207cc1af1 Fix formatting 2018-04-12 19:12:29 -04:00
Myned
2fd70139d0 Uncomment test confirmation 2018-04-12 19:11:05 -04:00
Myned
0747b51db7 Change cogs dict to be global for a new on_ready to access 2018-04-01 16:04:34 -04:00
Myned
bab0900fde Add assignment of cogs to manageable variables 2018-04-01 07:29:27 -04:00
Myned
00be044033 Fix referencing error 2018-03-31 17:47:38 -04:00
Myned
8da2dd37ae Merge remote-tracking branch 'origin/master' 2018-03-31 16:37:32 -04:00
Myned
313dda5096 WIP fix for reconnection issues 2018-03-31 16:37:05 -04:00
Myned
9f487cb57c File map update 2018-03-31 16:36:30 -04:00
Myned
d9c9700d88 Change command alias 2018-02-19 12:59:37 -05:00
Myned
0b8f4c4b74 Change formatting 2018-02-19 12:59:17 -05:00
Myned
e0f58d9ce4 Clean prune user all command 2018-01-14 02:17:34 -05:00
Myned
0581ab8f59 Add command to list all guilds bot is in 2018-01-14 02:16:46 -05:00
Myned
1be0545815 Change output formatting to align with program-wide rules 2018-01-14 02:16:27 -05:00
Myned
3bd77dea32 Fix mistaken group command decorator 2018-01-14 01:29:06 -05:00
Myned
e2bc1e650b Add purge user from channel command 2018-01-14 01:28:27 -05:00
Myned
09c09199bd Add "purge|pur" aliases to prune group command 2018-01-14 01:27:09 -05:00
Myned
e069023dc6 Import ext.commands errors 2018-01-14 01:26:46 -05:00
Myned
1c1ecf9d6b Add MissingRequiredArgument and BadArgument to on_command_error 2018-01-14 01:26:13 -05:00
Myned
b433ea6273 Change delete_after to 7 secs in on_command_error output 2018-01-14 01:25:49 -05:00
Myned
ba9f5f3ac2 Add ping-like test command 2018-01-14 01:25:18 -05:00
Myned
76d0d34848 Change Modumind user agent to Modufur 2018-01-14 01:24:42 -05:00
Myned
27c1346448 Shorten FileNotFound warning output 2018-01-14 01:24:17 -05:00
Myned
b88dc0ea25 Merge branch 'dev' 2017-12-31 23:13:05 -05:00
Myned
901d99b408 Changed on_reaction methodology to be message independent, fixed stops 2017-12-31 23:12:56 -05:00
Myned
6727906ec5 Merge branch 'dev' 2017-12-31 22:17:28 -05:00
Myned
e64866cb4b Unloaded music cog from imports 2017-12-31 22:17:18 -05:00
Myned
f969b6e450 Merge branch 'dev' 2017-12-31 22:15:26 -05:00
Myned
99d02fac8f Actual fix for gapi errors 2017-12-31 22:15:20 -05:00
Myned
6d282eaa9f Merge branch 'dev' 2017-12-31 22:13:40 -05:00
Myned
4095adf70d Merge remote-tracking branch 'origin/dev' into dev 2017-12-31 22:13:32 -05:00
Myned
ea4457fc73 Temporary fix for gapi errors 2017-12-31 22:13:06 -05:00
Myned
c5f7edbfd6 Merge branch 'dev' 2017-12-31 22:11:44 -05:00
Myned
b9fb6e7393 Temporary fix for gapi errors 2017-12-31 22:11:37 -05:00
Myned
540dbba577 Merge branch 'dev' 2017-12-31 22:09:31 -05:00
Myned
797d68b296 Possible fix for TypeError 2017-12-31 22:09:23 -05:00
Myned
e386a68ce8 Merge branch 'dev' 2017-12-31 22:05:44 -05:00
Myned
c266ee969a Added explicit default parameter 2017-12-31 22:05:32 -05:00
Myned
523ab37fe6 Merge branch 'dev' 2017-12-31 21:56:23 -05:00
Myned
709da02ffe Moved sleep and message deletion to trigger on successful reverse 2017-12-31 21:56:01 -05:00
Myned
bab9932949 Fixed reference error 2017-12-31 21:55:23 -05:00
Myned
003f4af690 Removed aspect ratio from reverse embed 2017-12-31 21:55:04 -05:00
Myned
3aac112ecb Added auto-heart command 2017-12-31 21:54:37 -05:00
Myned
b43b863c15 WIP conversion to group task commands 2017-12-31 21:53:59 -05:00
Myned
7d9f9d9718 WIP del_response setting (command toggle) 2017-12-31 21:29:35 -05:00
Myned
70ec1bdb9c Changed "stop" tasks command to be specific to each task (ie stop rev) 2017-12-31 21:28:58 -05:00
Myned
165d134b6d Added message attribute to Save exception 2017-12-31 21:26:47 -05:00
Myned
3f73419f79 Formatting 2017-12-31 21:26:17 -05:00
Myned
7ac6653353 WIP del_response setting 2017-12-31 21:26:08 -05:00
Myned
516902a206 Added auto-hearting to tasks file (requires deleting tasks.pkl 2017-12-31 21:25:37 -05:00
Myned
4c58a9e1a7 WIP music cog 2017-12-31 21:22:38 -05:00
Myned
23c49f480a Shortened method name to fit with command 2017-12-31 21:21:28 -05:00
Myned
c488b84df2 Merge branch 'dev' 2017-12-23 21:39:29 -05:00
Myned
38329fc8d7 Indents were messed up from the paste 2017-12-23 21:39:21 -05:00
Myned
91c696621c Merge remote-tracking branch 'origin/master' 2017-12-23 21:38:15 -05:00
Myned
ab6763f578 Indent mistake 2017-12-23 21:37:21 -05:00
Myned
d95d9e721d No change 2017-12-23 21:35:47 -05:00
Myned
05dd3a4fa2 Reordering of setdefault method logic 2017-12-23 21:32:08 -05:00
Myned
b8b0637c8a Fixed error message TypeError 2017-12-21 22:40:34 -05:00
Myned
0f60985c78 Removed on_ready testing 2017-12-21 22:39:44 -05:00
Myned
4d188e2a4a Added json to setdefault helper method 2017-12-21 22:39:20 -05:00
Myned
a3d9ac81d9 WIP Help command rework 2017-12-21 22:38:59 -05:00
Myned
5d64aaf55c Added minimal logging of NotFound errors 2017-12-10 17:18:37 -05:00
Myned
878eb4de06 Moved hourglass timeout to reaction and changed to check mark 2017-12-10 17:18:20 -05:00
Myned
679975f9df Increased hearting timeout to 1 hour 2017-12-10 17:14:49 -05:00
Myned
7446986f84 WIP Cleaning of help command 2017-12-10 17:14:15 -05:00
Myned
700044b9b8 Tweaked initial help info 2017-12-10 17:13:38 -05:00
Myned
8cbf4a90f8 Added logging of reconnection, and skipping over on_ready() 2017-12-08 21:55:33 -05:00
Myned
f7728b2d1e Hopefully implemented correct version of on_ready catching 2017-12-08 21:47:49 -05:00
Myned
d41c7d0f06 Fixed mistaken referencing 2017-12-08 21:43:14 -05:00
Myned
cecb3a8af8 Added on_ready() error catching 2017-12-08 21:40:34 -05:00
Myned
a2190c0267 ClientException testing for on_ready() error catching 2017-12-08 18:32:24 -05:00
Myned
57fbdd5abd Fixed Context being referenced without message 2017-12-07 20:35:47 -05:00
Myned
45395846c2 WIP periodic tasks 2017-12-07 15:52:04 -05:00
Myned
186bb0f68f Removed unneeded main folder 2017-12-05 06:34:43 -05:00
Myned
22c235386f Changed bot startup channel message to include contextual prefixes 2017-12-05 01:51:22 -05:00
Myned
8c377d6a20 Changed type parameter to kind to avoid conflicts 2017-12-05 01:50:44 -05:00
Myned
c288adcfe6 Removed branch identifier for UA header 2017-12-05 01:50:13 -05:00
Myned
3b4d5257fe Added default startup value to temp.pkl 2017-12-05 01:49:16 -05:00
Myned
0810c98cc6 Changed import alias to gpm 2017-12-05 01:48:52 -05:00
Myned
b348814fe0 Changed string boolean to boolean 2017-12-01 19:28:13 -05:00
Myned
c4c672d901 Tweaked presence command and added ability to opt out with empty string 2017-12-01 19:27:42 -05:00
Myned
8755257695 Merge branch 'dev' 2017-12-01 19:13:39 -05:00
Myned
e28af0092e Conflicting changes 2017-12-01 19:13:00 -05:00
Myned
678cbba249 Finalized selfbot config options - need to rework everything else 2017-12-01 19:12:48 -05:00
Myned
e6a098c211 WIP selfbot config option 2017-12-01 18:07:57 -05:00
Myned
8c15767da8 Temp limited error logging to 1500 characters if over that 2017-12-01 18:06:40 -05:00
Myned
0cc8bdcf80 Whitespace 2017-12-01 18:05:44 -05:00
Myned
b47bedaf5b Fixed secondary test command visible to endusers 2017-12-01 18:05:33 -05:00
Myned
000e7a86e7 WIP periodic posting cog 2017-12-01 18:05:11 -05:00