|
|
@ -6,7 +6,7 @@ from discord.ext import commands
|
|
|
|
from discord.ext.commands import command, cooldown, BucketType
|
|
|
|
from discord.ext.commands import command, cooldown, BucketType
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def generate_meme(image_path, top_text, bottom_text='', font_path='homies/impact/impacted.ttf', font_size=9):
|
|
|
|
def generate_meme(image_path, top_text, bottom_text='', font_path='homies/impact/Impacted.ttf', font_size=9):
|
|
|
|
get_image = Image.open(image_path)
|
|
|
|
get_image = Image.open(image_path)
|
|
|
|
draw = ImageDraw.Draw(get_image)
|
|
|
|
draw = ImageDraw.Draw(get_image)
|
|
|
|
image_width, image_height = get_image.size
|
|
|
|
image_width, image_height = get_image.size
|
|
|
|