can not send image with my telegram bot

I can some one help me please I try to send captcha with nodejs-captcha using buffer in my telegram bot it works well when bot is on local but when I deploy it I get this error
Fontconfig error: Cannot load default config file
Fontconfig error: Cannot load default config file
26 Replies
Percy
Percy2y ago
Project ID: 377b4920-ced5-4b5e-af8a-872a14bf32d3
ZETREY
ZETREYOP2y ago
377b4920-ced5-4b5e-af8a-872a14bf32d3
Brody
Brody2y ago
what library are you using for the telegram bot
ZETREY
ZETREYOP2y ago
telegrafjs
Brody
Brody2y ago
cool, not a userbot, good. could I get a link to your repo please, I'll try to look into this I just saw that this is your second help thread for the same issue, please don't do that again
Brody
Brody2y ago
thats a private repo
ZETREY
ZETREYOP2y ago
Public now
Brody
Brody2y ago
can I see a full screenshot of the error
ZETREY
ZETREYOP2y ago
Brody
Brody2y ago
I remember saying "full" meaning everything in the logs
ZETREY
ZETREYOP2y ago
Brody
Brody2y ago
now do you know at what point in the code those null prints and the fontconfig error print occurred?
ZETREY
ZETREYOP2y ago
Yes null is for referral code
Brody
Brody2y ago
okay sometimes there will be no referral codes, no issue with that I assume and where is the fontconfig error coming from?
ZETREY
ZETREYOP2y ago
I get this image when bot send captcha
ZETREY
ZETREYOP2y ago
In local image look like this
Brody
Brody2y ago
and this is a captcha to verify with what API?
ZETREY
ZETREYOP2y ago
I use nodejs-captcha library
Brody
Brody2y ago
got it I will look into this
ZETREY
ZETREYOP2y ago
Okay sir
Brody
Brody2y ago
@ZHKING
Brody
Brody2y ago
add this to your project
ZETREY
ZETREYOP2y ago
thanks sir all works fine
Brody
Brody2y ago
awsome
Want results from more Discord servers?
Add your server