Commit graph

68 commits

Author SHA1 Message Date
Noikoio
1dc229e91c Fix unable to ban non-cached users 2018-08-14 00:03:46 -07:00
Noikoio
f4ba54e39b Many small changes/fixes, and switching autoreporting to webhook 2018-04-05 15:46:15 -07:00
Noikoio
a3fb2ef019 Adding reminder 2018-04-05 12:14:40 -07:00
Noikoio
84d3b1665d Fully implemented text channel cache
Additionally, fixed a bug where user cache would quit immediately
after encountering a bot or webhook user.
2018-04-04 17:25:13 -07:00
Noikoio
5339701bef Reorganized code and files 2018-03-27 16:49:35 -07:00
Noikoio
666e5406ca Fixed an error message displaying incorrectly 2018-03-26 11:53:47 -07:00
Noikoio
1773fd2fc2 Changed module configuration model
-Changed a few method names to better reflect its capabilities.
--Specifically, references to "Config" were renamed to "State".
-Changed the way that what is now CreateInstanceState is called
--It is now always called instead of only when configuration exists
--A basic null check was added to prevent issues resulting from this
--General exception handler added to configuration loader
2018-03-22 00:30:22 -07:00
Noikoio
287bb33d77 Removed manual module name setting
Modules will now be named based on their existing class name.
Their respective configuration sections are now also defined by the
same value. Documentation has been updated to reflect this.
2018-03-21 23:51:50 -07:00
Noikoio
8e80e0241b Added EntryAutoRole 2018-03-21 14:06:32 -07:00
Noikoio
73d17405fa Merge branch 'dev/modtools' 2018-03-17 14:21:30 -07:00
Noikoio
3298efc65c Removed leftover ModTools references 2018-03-17 13:51:09 -07:00
Noikoio
bdc0d223cd Removed redundant JSON object in configuration 2018-03-15 22:00:34 -07:00
Noikoio
6860bf98de Updated documentation; removed some aliases 2018-03-15 21:46:18 -07:00
Noikoio
eaf147b417 Added role manipulation commands 2018-03-15 21:26:59 -07:00
Noikoio
7708a81949 Fixed incorrect message being sent to audit log 2018-03-15 00:23:46 -07:00
Noikoio
6127bb2ee7 Fix race condition between sending notification and removing from server 2018-03-14 23:59:24 -07:00
Noikoio
18cd562993 Fixed incorrect usage message with kick command 2018-03-14 20:12:19 -07:00
Noikoio
154b549abb 'Remove and Sort Usings' 2018-03-10 18:10:50 -08:00
Noikoio
800956e2aa Created GetUserDataFromString in base class 2018-03-10 10:38:50 -08:00
Noikoio
99fe2967b6 Moved (created) SendUsageMessageAsync to base class 2018-03-09 23:16:30 -08:00
Noikoio
bfb699d62f Reorganized and renamed ModTools to ModCommands 2018-03-09 22:17:55 -08:00
Noikoio
fe1f466b97 Fixed bugs relating to config load 2018-03-04 20:45:12 -08:00
Noikoio
7a8a82102f Added 'ConfReload' command type 2018-03-04 20:14:54 -08:00
Noikoio
dc7725c7b0 Added 'Unban' command type 2018-03-04 18:36:32 -08:00
Noikoio
c5229a22b2 Added basic cache error handling 2018-03-04 18:04:10 -08:00
Noikoio
d7b1486615 Added comment for consistency 2018-03-04 17:59:35 -08:00
Noikoio
681d0a370d Added confirmation message 2018-03-04 15:08:57 -08:00
Noikoio
6ca73a9b6b Added proper MessageCache configuration
Though it's now capable of loading configuration for the full
ModLogs module, not all features are available yet.
2018-03-01 19:25:08 -08:00
Noikoio
8c0ae8fd44 Updated notes 2018-02-22 18:17:27 -08:00
Noikoio
2b56dab0e3 Cleaned up MessageCache slightly 2018-02-22 18:04:27 -08:00
Noikoio
7f22da5a4e Fixed several issues; ready for testing 2018-02-20 12:26:10 -08:00
Noikoio
22af7685ee Fix compilation errors due to database change 2018-02-20 00:58:55 -08:00
Noikoio
6a52a2ba80 Preparing for testing 2018-02-20 00:58:16 -08:00
Noikoio
69f9da5313 Added mostly complete MessageCache 2018-02-20 00:48:11 -08:00
Noikoio
c51b89e32e Update changed method name 2018-02-17 00:46:26 -08:00
Noikoio
e771e09d08 Restructured MessageCache, added notes for implementation 2018-02-17 00:45:40 -08:00
Noikoio
26da617cf1 Adding files from previously deleted branch 2018-02-10 19:34:13 -08:00
Noikoio
cc0ec364e6 Fix compilation error 2018-02-07 12:47:51 -08:00
Noikoio
cf6ec27e61 Merge branch 'master' into dev/modtools 2018-02-07 12:44:42 -08:00
Noikoio
4d6bd13e03 Added RandomChance parameter to AutoRespond 2018-01-23 14:06:31 -08:00
Noikoio
d9801efc33 Moved some inline strings to constants 2018-01-19 00:57:36 -08:00
Noikoio
6953bc8ed3 Adding cache lookup to ban/kick parameter 2018-01-19 00:23:54 -08:00
Noikoio
e219cdc542 Merge branch 'dev/modlogs'
Excluded actual ModLogs files from this merge.
2018-01-04 17:46:41 -08:00
Noikoio
1fbe4d5e52 Added EntityCache class with CacheUser
Its purpose is documented in the comments within EntityCache.cs.
CacheUser has been implemented but is not yet tested.
2017-12-22 22:20:06 -08:00
Noikoio
8bb274bd69 Moving EntityCache files to separate directory 2017-12-22 17:53:46 -08:00
Noikoio
dd8ef7ff3e Removed ban petitions
One mistake slipped through the cracks as I tested this:

It is not possible in any way for a user to DM a bot if they do not
share a guild. As of this moment, there is no workaround, and it
appears that simply opening a DM channel beforehand is not enough to
make it work.
In short: it doesn't work. It can't possibly work.

This feature has been removed. Alterations to the configuration
structure for ModTools will remain, as I planned to do this change
for other reasons not related to this feature anyway.
2017-12-18 22:05:37 -08:00
Noikoio
78219a50e9 Changed ModTools config section name
For consistency.
2017-12-10 11:42:47 -08:00
Noikoio
cb967b7383 Merge branch 'dev/modtools' 2017-12-10 11:11:37 -08:00
Noikoio
1d5b0beaf4 Fix petition becoming available on kick 2017-12-10 11:03:42 -08:00
Noikoio
d49299e063 Added Config class to replace that previous mess 2017-12-08 13:57:35 -08:00