From 4e3ced97aaabc7aafa08659ccf7c17862794e642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Ta=C5=9Fkaya?= <47358913+isidentical@users.noreply.github.com> Date: Sun, 20 Oct 2019 00:10:46 +0300 Subject: [PATCH] add emacs to gnu/thing handler --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 53ba5c4..05fba97 100644 --- a/bot.py +++ b/bot.py @@ -317,7 +317,7 @@ def msg_ping(match: Match[str]) -> Response: return MessageResponse(match, f'PONG {esc(rest)}') -@handle_message(r'.*\b(nano|linux|windows)\b', flags=re.IGNORECASE) +@handle_message(r'.*\b(nano|linux|windows|emacs)\b', flags=re.IGNORECASE) def msg_gnu_please(match: Match[str]) -> Response: msg, word = match[3], match[4] if f'GNU/{word}' in msg or f'gnu/{word}' in msg: