Set Transaction Status to OK by default
This commit is contained in:
parent
a1f8d033c2
commit
d16828077d
3 changed files with 1 additions and 3 deletions
|
@ -76,8 +76,6 @@ namespace Geekbot.Bot.Commands.Games.Roll
|
|||
{
|
||||
await ReplyAsync(string.Format(Localization.Roll.RolledNoGuess, Context.Message.Author.Mention, number));
|
||||
}
|
||||
|
||||
Transaction.Status = SpanStatus.Ok;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
@ -65,7 +65,6 @@ namespace Geekbot.Bot.Commands.Utils.Quote
|
|||
var embed = QuoteBuilder(quote.FirstOrDefault());
|
||||
await ReplyAsync("", false, embed.Build());
|
||||
replySpan.Finish();
|
||||
Transaction.Status = SpanStatus.Ok;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
@ -26,6 +26,7 @@ namespace Geekbot.Core
|
|||
Id = Context.User.Id.ToString(),
|
||||
Username = Context.User.Username,
|
||||
};
|
||||
Transaction.Status = SpanStatus.Ok;
|
||||
}
|
||||
|
||||
protected override void AfterExecute(CommandInfo command)
|
||||
|
|
Loading…
Reference in a new issue