private Task OnMessageSent(IReplyContext context, IUserMessage message) { lock (InstanceCommandLock) { HasReplied = true; if (AwaitMessage != null) { AwaitMessage.DeleteAsync().Wait(); AwaitMessage = null; } } return(Task.CompletedTask); }
public ReplyContainer(IReplyContext context) { this.context = context; }