Commit graph

14 commits

Author SHA1 Message Date
Noikoio
0401bfce2d Removed public access to database config
Database connection is now acquired directly via Configuration
instead of an object within it.
2018-02-17 00:48:12 -08:00
Noikoio
801292e1a6 Renamed Features to Modules 2017-11-11 19:12:24 -08:00
Noikoio
2958d14b08 Finished implementing DatabaseConfig
No longer using separate schemas for each guild. Values for multiple
guilds will be stored within the same table.
2017-11-05 14:58:50 -08:00
Noikoio
244debadf2 Partial progress on DBCache 2017-11-01 16:24:22 -07:00
Noikoio
2568b11c8e Added database configuration 2017-11-01 14:06:38 -07:00
Noikoio
1e2e615a23 Require Guild ID in server definition
Due to how guild configuration is retrieved by features, it's easier
to have the ID be defined explicitly in server configuration instead
of having to look it up each time it's necessary.
2017-10-21 13:19:41 -07:00
Noikoio
8d228a4d7c Added FilterList
Several upcoming features will be making use of the same whitelist
and blacklist filtering concept that RegexResponder currently uses.
2017-08-10 12:53:46 -07:00
Noikoio
bd46c53a02 Added AutoRespond/ResponseConfigItem 2017-08-09 20:16:08 -07:00
Noikoio
7f8d6465ef Added EntityList.ExistsInList
Replaces redundant code in both features.
2017-08-08 12:48:30 -07:00
Noikoio
9818d4af89 Removed EntityItem.UpdateId
Will no longer determine and store snowflake IDs for each entity
defined in configuration. Instead, it will be strongly
recommended in future documentation that users make use of IDs to
define such things.
2017-08-08 12:36:49 -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
0b70dca915 Fixed compilation errors introduced in previous commit 2017-07-23 14:45:09 -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
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