Meme
This commit is contained in:
parent
f6a6acd913
commit
890421b27b
@ -43,6 +43,7 @@ class meme(commands.Cog):
|
|||||||
|
|
||||||
json_data = json.loads(response.text)
|
json_data = json.loads(response.text)
|
||||||
title = json_data[1]
|
title = json_data[1]
|
||||||
|
await ctx.send(title)
|
||||||
image = json_data[2]
|
image = json_data[2]
|
||||||
em = discord.Embed(title=title, color=ctx.author.color)
|
em = discord.Embed(title=title, color=ctx.author.color)
|
||||||
em.set_image(url=image)
|
em.set_image(url=image)
|
||||||
|
Loading…
Reference in New Issue
Block a user