From 99cbcb784f1686fa86ab96260647f56552f4bc09 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sat, 11 Jul 2020 03:19:25 +0100 Subject: [PATCH] Updating Meme Name --- cogs/fun/homies.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/fun/homies.py b/cogs/fun/homies.py index e5163daa..34cf1911 100644 --- a/cogs/fun/homies.py +++ b/cogs/fun/homies.py @@ -41,7 +41,7 @@ def generate_meme(image_path, top_text, bottom_text='', font_path='homies/impact y += line_height # Save meme - get_image.save('meme-' + get_image.filename.split('/')[-1]) + get_image.save("AllMyHomiesHateMeme.jpg") # Set up the cog @@ -65,7 +65,7 @@ class Fun(commands.Cog): 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('AllMyHomiesHateMeme.jpg')) except Exception as e: print(e)