img = Image.open('profile.png')
user = ctx.author
url = str(user.avatar.url)[:-10]
response = requests.get(url, stream=True)
response = Image.open(io.BytesIO(response.content))
response = response.convert('RGBA')
response = response.resize((500, 500))
img.paste(response, (15, 15, 515, 515))
idraw = ImageDraw.Draw(img)
name = ctx.author.name
tag = ctx.author.discriminator
headline = ImageFont.truetype('Roboto-Black.ttf', size=96)
undertext = ImageFont.truetype('Roboto-Black.ttf', size=12)
idraw.text((1765, 1000), f'{name}', font=headline) # нужно что-то сделать с этой строкой
idraw.text((145, 50), f'ID: {ctx.author.id}', font=undertext)
img.save('user_card.png')