mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 18:02:31 -05:00
[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:
9
cogs/image/__init__.py
Normal file
9
cogs/image/__init__.py
Normal 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)
|
||||
Reference in New Issue
Block a user