Added the required setup function
This commit is contained in:
parent
dd8ecf7590
commit
831ed6125f
2 changed files with 6 additions and 0 deletions
|
@ -84,3 +84,6 @@ class Links:
|
||||||
else:
|
else:
|
||||||
rand_image = data[random.randint(0, len(data)-1)]['file_url']
|
rand_image = data[random.randint(0, len(data)-1)]['file_url']
|
||||||
await self.bot.say(rand_image)
|
await self.bot.say(rand_image)
|
||||||
|
|
||||||
|
def setup(bot):
|
||||||
|
bot.add_cog(Links(bot))
|
||||||
|
|
|
@ -71,3 +71,6 @@ class Tags:
|
||||||
await self.bot.say('I have just removed the tag `{}`'.format(tag))
|
await self.bot.say('I have just removed the tag `{}`'.format(tag))
|
||||||
else:
|
else:
|
||||||
await self.bot.say("I was unable to save this data")
|
await self.bot.say("I was unable to save this data")
|
||||||
|
|
||||||
|
def setup(bot):
|
||||||
|
bot.add_cog(Tags(bot))
|
||||||
|
|
Loading…
Reference in a new issue