Commit graph

81 commits

Author SHA1 Message Date
Noikoio
2409946d6b Fix state not being reset after vote 2018-11-25 18:02:40 -08:00
Noikoio
607f56bcd0 Add initial vote whitelist 2018-10-31 14:29:08 -07:00
Noikoio
19cf4d890f Minor fixes and modifications 2018-10-31 13:11:12 -07:00
Noikoio
13e3434c38 Moved channel creation to event handler 2018-10-28 21:20:02 -07:00
Noikoio
b9cc41030c Replaced background task; Cache now in guild state
Channel renewal is no longer a concept. Channels will automatically
expire after they have been inactive for a set amount of time,
regardless of the channel's age. This greatly simplifies things.
2018-10-28 19:54:25 -07:00
Noikoio
34ba1d9443 Hide actual cooldown value 2018-10-28 19:48:17 -07:00
Noikoio
d97bdfafce Removed channel expiry data persistence
Some leftover references here and there.
Will remove soon.
2018-10-28 18:58:56 -07:00
Noikoio
0a2acf6ed6 Replaced VoteStore with VotingSession 2018-10-28 18:40:35 -07:00
Noikoio
b9b23e5b02 Added VoteTempChannel
This was the product of having worked on it on and off with no clear
schedule or plan. It is structurally... pretty bad. And prone to bugs.

Its core features are known to work. Other features may be added later
as necessary. Don't consider this to be a largely finished module.

This may even be rewritten in the near future, now that I know better
what I want to get out of this.
2018-10-28 11:44:30 -07:00
Noikoio
569ec24e6c Fix MessageCache errors on blank messages 2018-10-27 22:24:31 -07:00
Noikoio
3cf2e3284f Add VoiceRoleSync documentation; fix occasional error 2018-08-18 12:44:57 -07:00
Noikoio
3f9a133382 Added VoiceRoleSync
Core functionality is working. Documentation and other
improvements will be done soon before creating a new
release.
2018-08-17 00:45:26 -07:00
Noikoio
b06d34c5a9 Add timestamp to edit/deletion logs 2018-08-14 00:26:52 -07:00
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