diff --git a/NadekoBot/Modules/Administration/Commands/PlayingRotate.cs b/NadekoBot/Modules/Administration/Commands/PlayingRotate.cs index 20071ca2..e3589342 100644 --- a/NadekoBot/Modules/Administration/Commands/PlayingRotate.cs +++ b/NadekoBot/Modules/Administration/Commands/PlayingRotate.cs @@ -14,7 +14,7 @@ namespace NadekoBot.Modules.Administration.Commands { internal class PlayingRotate : DiscordCommand { - private static readonly Timer timer = new Timer(12000); + private static readonly Timer timer = new Timer(20000); public static Dictionary> PlayingPlaceholders { get; } = new Dictionary> { @@ -41,7 +41,7 @@ namespace NadekoBot.Modules.Administration.Commands public PlayingRotate(DiscordModule module) : base(module) { var i = -1; - timer.Elapsed += (s, e) => + timer.Elapsed += async (s, e) => { try { @@ -63,7 +63,7 @@ namespace NadekoBot.Modules.Administration.Commands } if (string.IsNullOrWhiteSpace(status)) return; - Task.Run(() => { NadekoBot.Client.SetGame(status); }); + await Task.Run(() => { NadekoBot.Client.SetGame(status); }); } catch { } };