int
This commit is contained in:
parent
7bb624c0ef
commit
be62676645
@ -32,14 +32,14 @@ async def thumb(thumbnail, title, userid, ctitle):
|
|||||||
font = ImageFont.truetype("driver/source/regular.ttf", 52)
|
font = ImageFont.truetype("driver/source/regular.ttf", 52)
|
||||||
font2 = ImageFont.truetype("driver/source/medium.ttf", 76)
|
font2 = ImageFont.truetype("driver/source/medium.ttf", 76)
|
||||||
draw.text(
|
draw.text(
|
||||||
(25, 610),
|
(25, 608),
|
||||||
f"{title[:18]}...",
|
f"{title[:18]}...",
|
||||||
fill="black",
|
fill="black",
|
||||||
font=font2,
|
font=font2,
|
||||||
)
|
)
|
||||||
draw.text(
|
draw.text(
|
||||||
(27, 535),
|
(27, 533),
|
||||||
f"Playing on {ctitle[:8]}...",
|
f"Playing on {ctitle[:12]}",
|
||||||
fill="black",
|
fill="black",
|
||||||
font=font,
|
font=font,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user