File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\modules\snitchgenerator__init__.py", line 5, in
from .nokia import generate_image
File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\modules\snitchgenerator\nokia.py", line 21, in
font = ImageFont.truetype("fonts/1.ttf", font_size)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\ImageFont.py", line 844, in truetype
return freetype(font)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\ImageFont.py", line 841, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\ImageFont.py", line 193, in init
self.font = core.getfont(
OSError: cannot open resource
File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\modules\snitchgenerator__init__.py", line 5, in
from .nokia import generate_image
File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\modules\snitchgenerator\nokia.py", line 21, in
font = ImageFont.truetype("fonts/1.ttf", font_size)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\ImageFont.py", line 844, in truetype
return freetype(font)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\ImageFont.py", line 841, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\ImageFont.py", line 193, in init
self.font = core.getfont(
OSError: cannot open resource