- Removed static color fields

- Removed unused code
- BanTemplate will get error color from bot config
This commit is contained in:
Kwoth
2021-07-12 21:10:39 +02:00
parent 0e81f2abf4
commit 71da4d11c0
5 changed files with 6 additions and 48 deletions

View File

@@ -36,10 +36,6 @@ namespace NadekoBot.Services
var ok = _data.Color.Ok;
var error = _data.Color.Error;
var pend = _data.Color.Pending;
// todo future remove these static props once cleanup is done
Bot.OkColor = new Color(ok.R, ok.G, ok.B);
Bot.ErrorColor = new Color(error.R, error.G, error.B);
Bot.PendingColor = new Color(pend.R, pend.G, pend.B);
}
protected override void OnStateUpdate()