From 831ed6125fec5b85b8e65927ff5339d266709259 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sat, 23 Jul 2016 07:01:16 -0500 Subject: [PATCH] Added the required setup function --- cogs/links.py | 3 +++ cogs/tags.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/cogs/links.py b/cogs/links.py index 0887492..33237bf 100644 --- a/cogs/links.py +++ b/cogs/links.py @@ -84,3 +84,6 @@ class Links: else: rand_image = data[random.randint(0, len(data)-1)]['file_url'] await self.bot.say(rand_image) + +def setup(bot): + bot.add_cog(Links(bot)) diff --git a/cogs/tags.py b/cogs/tags.py index 9608be6..77ae258 100644 --- a/cogs/tags.py +++ b/cogs/tags.py @@ -71,3 +71,6 @@ class Tags: await self.bot.say('I have just removed the tag `{}`'.format(tag)) else: await self.bot.say("I was unable to save this data") + +def setup(bot): + bot.add_cog(Tags(bot))