From d94a8c109847c18e9d55cadb2034e4344137d19d Mon Sep 17 00:00:00 2001 From: HgO Date: Wed, 6 Jul 2022 01:26:27 +0200 Subject: [PATCH] fix if chain --- matrix_alertbot/bot_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_alertbot/bot_commands.py b/matrix_alertbot/bot_commands.py index d0abbbc..a749047 100644 --- a/matrix_alertbot/bot_commands.py +++ b/matrix_alertbot/bot_commands.py @@ -54,7 +54,7 @@ class Command: """Process the command""" if self.command.startswith("ack"): await self._ack() - if self.command.startswith("unack") or self.command.startswith("nack"): + elif self.command.startswith("unack") or self.command.startswith("nack"): await self._unack() elif self.command.startswith("react"): await self._react()