cleanup of new base cog
This commit is contained in:
parent
02fa32cb1c
commit
9dd6fc1e1b
2 changed files with 4 additions and 5 deletions
|
|
@ -37,6 +37,7 @@ class Meme(BotBaseCog):
|
|||
brief="Generate a meme"
|
||||
)
|
||||
async def meme(self, ctx):
|
||||
self.logger.info(f"Meme command called by {ctx.author.name}")
|
||||
async def generate_random_meme(topic):
|
||||
async with self.http_session.get('https://api.imgflip.com/get_memes') as resp:
|
||||
response_data = await resp.json()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue