Dragory / modmailbot

Modmail Bot is a bot for Discord that makes it easier for users to contact moderators and admins for help.
MIT License
699 stars 701 forks source link

Bot crashes #273

Closed pikopie closed 5 years ago

pikopie commented 5 years ago

Hi this is the cmd log:-

image

Please help. Thanks !

pikopie commented 5 years ago

Update:

I downgraded by my nodejs to 8.5 version, and it no longer crashes. But now pictures sent to the ModMail won't open as shown in the screenshot below:-

image

Please help. Thanks !

Jarifa commented 5 years ago

quick workaround; change the config to include: "attachmentStorage": "discord"

pikopie commented 5 years ago

quick workaround; change the config to include: "attachmentStorage": "discord"

This is what happened after I added "attachmentStorage": "discord" in the config.json file:-

image

Anything I am missing? Thx in advance.

pikopie commented 5 years ago

I have just read most of the previous issues. Do I need to type out (1) "attachmentStorage": "discord", and (2) "attachmentStorageChannelId" myself? or are these already found in the config.json? As I don't see these two anywhere. Thanks.

Dragory commented 5 years ago

You need to add them both manually. The example config file only contains a few common options by default.

pikopie commented 5 years ago

thanks ! fixed !