Commit graph

21 commits

Author SHA1 Message Date
Noikoio
1694c82691 Updated version 2018-01-04 17:48:03 -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
c2cab91f31 Updated version, dependencies 2017-12-10 11:47:08 -08:00
Noikoio
c8b1ed31bf Ignore bot input 2017-12-08 10:44:42 -08:00
Noikoio
49f8e13650 Updated version 2017-11-29 15:30:13 -08:00
Noikoio
72c9415da9 Ignore bot DMs 2017-11-17 17:45:00 -08:00
Noikoio
06c94e370a Added DMLogger module 2017-11-17 12:13:47 -08:00
Noikoio
5c972997c0 Added DBCache
Currently incomplete. This feature will maintain a cache of
entities in a database to be used by upcoming features and
possible external utilities to be created in the future.
2017-10-29 20:04:57 -07:00
Noikoio
b12cbe8ce2 Incremented version number due to breaking configuration change 2017-10-22 00:04:23 -07:00
Noikoio
0cbe074151 Added 'say' command type 2017-10-15 17:22:21 -07:00
Noikoio
3f376605f2 ModTools configuration redone
Defining config for ModTools now is similar to that of other features.

Additionally, merged the Ban and Kick commands into a single file,
and it no longer scans itself for attribute data on load.
2017-10-09 11:54:12 -07:00
Noikoio
4a59e07c6c Updated Discord.Net 2017-09-24 12:47:29 -07:00
Noikoio
ba8eea5049 Updated version and Readme 2017-09-05 12:07:49 -07:00
Noikoio
a91b432557 Removing example config, updating to .NET Core 2.0.0 2017-09-05 11:26:57 -07:00
Noikoio
2358a8eec4 Fixed BanCommand not accepting IDs of non-guild users
Also slightly improved the equivalent code for KickCommand
2017-08-11 09:29:52 -07:00
Noikoio
1351777e0a Fixed incorrect kick/ban reasons 2017-08-09 16:07:42 -07:00
Noikoio
e3d40a5f60 Added ModTools feature
Implements moderation commands that are fully configurable.
Commands are defined in configuration per-server under "modtools",
and allows for custom command triggers as well as individual options.

For now, only commands with "kick" and "ban" capabilities are
available, but more will be added in the near future.
2017-08-06 13:05:44 -07:00
Noikoio
27a25d90fc Added BotFeature base class, implemented in RegexResponder
BotFeature is a new base class that all new individual bot features
will derive from. At least one new feature is planned for this bot,
and in time it may be opened up so external assemblies can be loaded.

Full list of changes:
-Added BotFeature and ConfigSectionAttribute classes
-Renamed ConfigLoader to Configuration
-Removed RegexResponder specific configuration data
-Added per-feature configuration data storage
-LoadInitialConfig() no longer loads all configuration
-ReloadServerConfig() now loads remaining configuration, and allows
 for actual configuration reloading. Live configuration reloading
 is not an exposed feature yet.
-Can now delegate feature-specific configuration loading to feature
 classes that make use of ConfigSectionAttribute

-RegexResponder fully implements BotFeature
-Rule configuration loading moved to RegexResponder
-Logging output has changed slightly in regards to rule triggering
 and execution

-Changed configuration load behavior on startup
-Version pushed up to 1.0.0
2017-07-26 15:36:59 -07:00
Noikoio
376e44f941 Reorganized files to separate features
With the addition of moderation commands coming up, it will be good
having a clear separation of separate features both in code as well
as in the way the files themselves are organized.
This code change will be coming soon.
2017-07-21 20:51:00 -07:00
Noikoio
80b83aeaab Updated to Discord.Net 1.0.1 2017-07-21 19:50:28 -07:00
Noikoio
3e668a3660 First commit in new repository
Previous commits had quite a bit of personal information in them.
More than I would have liked to share. Unfortunately, making this
public means losing all that prior commit history.
2017-06-23 12:33:54 -07:00