You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the automaticUploadImagesToImgur option is set to true but no imgur client_id is referenced in the .env, the upload to imgur fails and some properties of the Image entity are not defined.
Fixes todo:
turn off by default the option in the config
add a special handling in case of failure of the upload in the service
in the check before the call of the service (in the main.ts), don't just check if the IMGUR_CLIENT_ID env variable is set but that's also different from the default value of the .env.example
Reproduction
Set automaticUploadImagesToImgur config option to true
Set the IMGUR_CLIENT_ID env variable as an invalid client_id
Add an image in the assets/ folder
Start the bot
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
When the
automaticUploadImagesToImgur
option is set to true but no imgurclient_id
is referenced in the.env
, the upload to imgur fails and some properties of the Image entity are not defined.Fixes todo:
in the check before the call of the service (in themain.ts
), don't just check if theIMGUR_CLIENT_ID
env variable is set but that's also different from the default value of the.env.example
Reproduction
automaticUploadImagesToImgur
config option totrue
IMGUR_CLIENT_ID
env variable as an invalid client_idassets/
folderRelevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: