]> git.aero2k.de Git - urlbot-v3.git/commitdiff
hide giphy key
authorThorsten S <mail@aero2k.de>
Mon, 29 Apr 2019 18:21:18 +0000 (20:21 +0200)
committerThorsten S <mail@aero2k.de>
Mon, 29 Apr 2019 18:21:18 +0000 (20:21 +0200)
distbot/plugins/fun.py

index 23f66a3821a7acc8a6a244900aba7bee642cf9aa..950c61b88890f3ee3ee60475c48ddb5bacb343ae 100644 (file)
@@ -104,7 +104,7 @@ class Consumables(Worker):
             "keks": "cookie",
             "frühstück": "breakfast",
         }
-        gif = giphy(thing_giphy_translation.get(thing, thing), 'dc6zaTOxFJmzC')
+        gif = giphy(thing_giphy_translation.get(thing, thing), conf_get('giphy_key'))
         return Action(msg='{} for {}: {}'.format(thing, sender, gif))
 
     def parse_body(self, msg):