Fix image loading issue (#1057)

This commit is contained in:
Will 2017-10-25 00:35:05 -04:00 committed by palmtree5
parent fed115996c
commit 923913f63d

View File

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