Removed bce

This commit is contained in:
Kwoth
2021-12-23 20:42:47 +01:00
parent da849f7c7b
commit 643dc1824f
4 changed files with 7 additions and 25 deletions

View File

@@ -0,0 +1,6 @@
namespace NadekoBot.Modules.Gambling;
public class TestGamblingService
{
}

View File

@@ -6,29 +6,13 @@ public partial class Utility
{
public class ConfigCommands : NadekoSubmodule
{
private readonly BotConfigService _bss;
private readonly SelfService _selfService;
private readonly IEnumerable<IConfigService> _settingServices;
public ConfigCommands(BotConfigService bss, SelfService selfService, IEnumerable<IConfigService> settingServices)
public ConfigCommands(IEnumerable<IConfigService> settingServices)
{
_settingServices = settingServices;
_bss = bss;
_selfService = selfService;
}
[NadekoCommand, Aliases]
[OwnerOnly]
public Task BotConfigEdit()
=> Config("bot");
[NadekoCommand, Aliases]
[Priority(0)]
[OwnerOnly]
public Task BotConfigEdit(string prop, [Leftover] string newValue = null)
=> Config("bot", prop, newValue);
[NadekoCommand, Aliases]
[OwnerOnly]
public async Task ConfigReload(string name)

View File

@@ -1050,9 +1050,6 @@ streamroleblacklist:
streamrolewhitelist:
- streamrolewhitelist
- srwl
botconfigedit:
- botconfigedit
- bce
config:
- config
- conf

View File

@@ -1782,11 +1782,6 @@ streamrolewhitelist:
args:
- "add @Someone#1234"
- "rem @Someone#1234"
botconfigedit:
desc: "Obsolete, use `{0}config` or `{0}config bot` instead"
args:
- "color.ok 00ff00"
- ""
config:
desc: |-
Gets or sets configuration values.