From b84dc90c6a34453cb8b2c1f79a297aa64e173276 Mon Sep 17 00:00:00 2001 From: Michael De Roover Date: Tue, 18 May 2021 00:40:50 +0200 Subject: [PATCH] Add a filter for those retarded fb hackers --- konata.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/konata.sh b/konata.sh index 1e9df1a..d17944e 100755 --- a/konata.sh +++ b/konata.sh @@ -333,6 +333,16 @@ say(){ sendmsg "$res" } +hack(){ + # Congrats retards, you've finally done it + case "$msg" in + *Facebook* | *facebook* | *fb* | \ + *Instagram* | *instagram* | *insta* | \ + *WhatsApp* | *whatsapp* | *whatapp* ) + sendmsg "Stop asking stupid questions!" ;; + esac +} + # Match incoming messages case "$cmd" in # Public commands @@ -363,4 +373,5 @@ case "$msg" in # Miscellaneous *@ghnou*) tag ;; Konata\ say*) say ;; + *hack*) hack ;; esac