- NoPublicBotAttribute will now be properly ignored when built with GlobalNadeko configuration

- Added ILogCommandsService which will have dummy implementation on public bot, this means Logging Commands will be present on public bot to pull up help etc
- When .ve is enabled, NoPublicBot commands will show a nicer error message with link to selfhosting guide (thx ene)
- Fixed xp gain and .xp command not working on new users
- General cleanup
This commit is contained in:
Kwoth
2021-07-05 21:14:30 +02:00
parent fd35d3a836
commit a8a4c9fb44
13 changed files with 156 additions and 85 deletions

View File

@@ -16,9 +16,9 @@ namespace NadekoBot.Modules.Games
[Group]
public class PlantPickCommands : GamblingSubmodule<PlantPickService>
{
private readonly LogCommandService logService;
private readonly ILogCommandService logService;
public PlantPickCommands(LogCommandService logService, GamblingConfigService gss) : base(gss)
public PlantPickCommands(ILogCommandService logService, GamblingConfigService gss) : base(gss)
{
this.logService = logService;
}