increased timeout, prefixes configurable

This commit is contained in:
Master Kwoth
2016-03-11 21:40:05 +01:00
parent c7d18c5853
commit 5275058553
5 changed files with 31 additions and 3 deletions

View File

@ -23,7 +23,7 @@ namespace NadekoBot.Modules {
commands.Add(new VoicePlusTextCommand(this));
}
public override string Prefix { get; } = ".";
public override string Prefix { get; } = NadekoBot.Config.CommandPrefixes.Administration;
public override void Install(ModuleManager manager) {
manager.CreateCommands("", cgb => {

View File

@ -10,7 +10,7 @@ using Action = Manatee.Trello.Action;
namespace NadekoBot.Modules {
internal class Trello : DiscordModule {
private readonly Timer t = new Timer() { Interval = 2000 };
private readonly Timer t = new Timer { Interval = 2000 };
public override string Prefix { get; } = "trello";
public override void Install(ModuleManager manager) {