We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97df48f commit a89f88bCopy full SHA for a89f88b
RefreshDiscordBot/Bot.cs
@@ -43,10 +43,10 @@ public Bot(Logger logger, BotConfiguration config)
43
this._modules.Add(new RandomActivityModule(this, this._logger));
44
this._modules.Add(new EmbedFromMessageModule(this, this._logger));
45
46
- if (this.Config.PlayersOnlineChannel != 0)
47
- this._modules.Add(new CurrentPlayersOnlineModule(this, this._logger));
48
if (this.Config.ServerStatusChannel != 0 && !string.IsNullOrWhiteSpace(this.Config.UptimeKumaUrl))
49
this._modules.Add(new ServerStatusModule(this, this._logger));
+ if (this.Config.PlayersOnlineChannel != 0)
+ this._modules.Add(new CurrentPlayersOnlineModule(this, this._logger));
50
}
51
52
private Task OnLog(LogMessage message)
0 commit comments