mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 02:08:27 -04:00
- NadekoBot class renamed to Bot
- Implemented grpc based coordinator. Supports restarting, killing single or all shards, as well as getting current shard statuses. (Adaptation of the one used by the public bot) - Coord is setup via coord.yml file - Methods from SelfService which deal with shard/bot restart etc have been moved to ICoordinator (with GrpcRemoteCoordinator being the default implementation atm) - Vastly simplified NadekoBot/Program.cs
This commit is contained in:
@@ -37,9 +37,9 @@ namespace NadekoBot.Core.Services
|
||||
var error = _data.Color.Error;
|
||||
var pend = _data.Color.Pending;
|
||||
// todo future remove these static props once cleanup is done
|
||||
NadekoBot.OkColor = new Color(ok.R, ok.G, ok.B);
|
||||
NadekoBot.ErrorColor = new Color(error.R, error.G, error.B);
|
||||
NadekoBot.PendingColor = new Color(pend.R, pend.G, pend.B);
|
||||
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()
|
||||
|
Reference in New Issue
Block a user