[Image] Rewrite for V3 (#768)

* [Core] add imgurpython to requirements

* [Image] v3 rewrites

* remove imgurpython from requirements

* [Image] switch to Config, add in instructions for getting imgur client id

* Add default register
This commit is contained in:
palmtree5
2017-08-13 12:14:45 -08:00
committed by Will
parent 680a44c4b4
commit 0ba6d9a5af
2 changed files with 164 additions and 0 deletions

9
cogs/image/__init__.py Normal file
View File

@@ -0,0 +1,9 @@
from .image import Image
import asyncio
def setup(bot):
n = Image(bot)
loop = asyncio.get_event_loop()
loop.create_task(n.set_giphy_key())
bot.add_cog(n)