modmailbot icon indicating copy to clipboard operation
modmailbot copied to clipboard

How to import token from .env file in repl.it

Open pratyushsnake opened this issue 4 years ago • 3 comments

How do i import the token from .env file into the config.ini file

pratyushsnake avatar Feb 07 '21 18:02 pratyushsnake

Hi there!

We don't support repl.it as a host so we are unable to provide help for it. It might be worth googling the information or using a different host that has a non-volatile filesystem.

mesub7 avatar Feb 08 '21 13:02 mesub7

Nonstandard hosts such as Heroku, Glitch and Repl.it are not supported, due to their design, the bot's data resets every time the app is restarted, and there are extra installation steps. However you might be able to run this bot on these platforms, However support will not be offered if you run into problems regarding to nonstandard platform specific issues. Message Copied From Modmail Discord Server!

EAZYBLACK avatar Feb 18 '21 14:02 EAZYBLACK

Just use repl.it's Secrets function. The name for the token value would be MM_TOKEN.

Eegras avatar Apr 26 '21 13:04 Eegras