|
|
@ -54,6 +54,7 @@ class Fun(commands.Cog):
|
|
|
|
async def homies(self, ctx, *, user_word):
|
|
|
|
async def homies(self, ctx, *, user_word):
|
|
|
|
"""Allows people to summon the homies"""
|
|
|
|
"""Allows people to summon the homies"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
if len(user_word) >= 20:
|
|
|
|
if len(user_word) >= 20:
|
|
|
|
await ctx.send("Please make sure the prompt is below **20** characters!")
|
|
|
|
await ctx.send("Please make sure the prompt is below **20** characters!")
|
|
|
|
return
|
|
|
|
return
|
|
|
@ -65,6 +66,8 @@ class Fun(commands.Cog):
|
|
|
|
generate_meme('homies/AllMyHomies.jpg', top_text=top_text, bottom_text=bottom_text)
|
|
|
|
generate_meme('homies/AllMyHomies.jpg', top_text=top_text, bottom_text=bottom_text)
|
|
|
|
|
|
|
|
|
|
|
|
await ctx.send(file=discord.File('meme-AllMyHomies.jpg'))
|
|
|
|
await ctx.send(file=discord.File('meme-AllMyHomies.jpg'))
|
|
|
|
|
|
|
|
except Exception as e:
|
|
|
|
|
|
|
|
print(e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def setup(bot):
|
|
|
|
def setup(bot):
|
|
|
|