From a68e582f72d7844705d0b03aa477a68ee8fdd3e4 Mon Sep 17 00:00:00 2001 From: Abhijeet Kaur Date: Thu, 10 Aug 2017 05:17:57 +0530 Subject: [PATCH] bots: Make giphy bot consistent with other api_key bot structure. --- zulip_bots/zulip_bots/bots/giphy/giphy.conf | 2 ++ zulip_bots/zulip_bots/bots/giphy/giphy.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 zulip_bots/zulip_bots/bots/giphy/giphy.conf diff --git a/zulip_bots/zulip_bots/bots/giphy/giphy.conf b/zulip_bots/zulip_bots/bots/giphy/giphy.conf new file mode 100644 index 0000000..d83ba7e --- /dev/null +++ b/zulip_bots/zulip_bots/bots/giphy/giphy.conf @@ -0,0 +1,2 @@ +[giphy] +key = 12345678 diff --git a/zulip_bots/zulip_bots/bots/giphy/giphy.py b/zulip_bots/zulip_bots/bots/giphy/giphy.py index 666d5e1..d57da23 100644 --- a/zulip_bots/zulip_bots/bots/giphy/giphy.py +++ b/zulip_bots/zulip_bots/bots/giphy/giphy.py @@ -1,5 +1,5 @@ # To use this plugin, you need to set up the Giphy API key for this bot in -# ~/.giphy_config +# giphy.conf in this (zulip_bots/bots/giphy/giphy/) directory. from __future__ import absolute_import from __future__ import print_function