From: Thorsten S Date: Mon, 22 Apr 2019 06:45:38 +0000 (+0200) Subject: frühstück X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=348e20696b4c6417842ec381e473d8978c1e149e;p=urlbot-v3.git frühstück --- diff --git a/distbot/plugins/fun.py b/distbot/plugins/fun.py index 0199773..23f66a3 100644 --- a/distbot/plugins/fun.py +++ b/distbot/plugins/fun.py @@ -67,13 +67,14 @@ class Slap(Worker): class Consumables(Worker): description = "Om nom nom" - usage = "bot: cake/coffee/kaffee/keks/schnitzel [please]" + usage = "bot: cake/coffee/kaffee/keks/schnitzel/frühstück [please]" binding_keys = [ "nick.cake.*", "nick.cake", "nick.schnitzel.*", "nick.schnitzel", "nick.keks.*", "nick.keks", "nick.cookie.*", "nick.cookie", "nick.kaffee.*", "nick.kaffee", + "nick.frühstück.*", "nick.frühstück", ] excuses = [ @@ -101,6 +102,7 @@ class Consumables(Worker): thing_giphy_translation = { "kaffee": "coffee", "keks": "cookie", + "frühstück": "breakfast", } gif = giphy(thing_giphy_translation.get(thing, thing), 'dc6zaTOxFJmzC') return Action(msg='{} for {}: {}'.format(thing, sender, gif))