/// <summary> /// Constructs an exception reaction result. /// </summary> public static RuntimeResult FromError(this IEmote emote, Exception ex) { return(ReactionResult.FromError(ex, emote)); }
/// <summary> /// Constructs an error reaction result. /// </summary> public static RuntimeResult FromError(this IEmote emote, CommandError error, string reason = null) { return(ReactionResult.FromError(error, reason, emote)); }