mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
* [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
10 lines
172 B
Python
10 lines
172 B
Python
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)
|