From 0f8f69bd486d572cd43a764ebf2f4e60accde34d Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Fri, 6 Sep 2024 19:03:57 +0200 Subject: [PATCH] Support comrade praise after merge command --- lib/ff_bot/dispatch/issue_comment.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ff_bot/dispatch/issue_comment.ex b/lib/ff_bot/dispatch/issue_comment.ex index 0908d82..2c771f2 100644 --- a/lib/ff_bot/dispatch/issue_comment.ex +++ b/lib/ff_bot/dispatch/issue_comment.ex @@ -16,7 +16,7 @@ defmodule FFBot.Dispatch.IssueComment do # If it is defined, the comment is on a PR case body["comment"]["body"] do # If it starts with "/" and matches one of our commands, pass to the command runner - "/" <> command when command in ["merge"] -> command_dispatch(command, body) + "/merge " <> _high_praise -> command_dispatch("merge", body) _ -> nil end else