Skip to content

Commit a89f88b

Browse files
committed
Prefer updating server status before player count
1 parent 97df48f commit a89f88b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RefreshDiscordBot/Bot.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public Bot(Logger logger, BotConfiguration config)
4343
this._modules.Add(new RandomActivityModule(this, this._logger));
4444
this._modules.Add(new EmbedFromMessageModule(this, this._logger));
4545

46-
if (this.Config.PlayersOnlineChannel != 0)
47-
this._modules.Add(new CurrentPlayersOnlineModule(this, this._logger));
4846
if (this.Config.ServerStatusChannel != 0 && !string.IsNullOrWhiteSpace(this.Config.UptimeKumaUrl))
4947
this._modules.Add(new ServerStatusModule(this, this._logger));
48+
if (this.Config.PlayersOnlineChannel != 0)
49+
this._modules.Add(new CurrentPlayersOnlineModule(this, this._logger));
5050
}
5151

5252
private Task OnLog(LogMessage message)

0 commit comments

Comments
 (0)