Skip to content

Commit

Permalink
Merge pull request #434 from 13xforever/vnext
Browse files Browse the repository at this point in the history
Additional logging to understand wtf is going on
13xforever authored Oct 14, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 3ef39f3 + 38c56c2 commit 1625b0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CompatBot/Commands/CompatList.cs
Original file line number Diff line number Diff line change
@@ -194,6 +194,10 @@ public static async Task<bool> CheckForRpcs3Updates(DiscordClient discordClient,
await channel.SendMessageAsync(embed: embed.Build()).ConfigureAwait(false);
else if (emptyBotMsg != null)
{
if (embed.Color == Config.Colors.Maintenance)
return false;

Config.Log.Debug($"Restoring update announcement for build {sinceCommit}: {embed.Title}\n{embed.Description}");
await emptyBotMsg.ModifyAsync(embed: embed.Build()).ConfigureAwait(false);
return true;
}

0 comments on commit 1625b0e

Please sign in to comment.