Dragory / modmailbot

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

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

Closed pratyushsnake closed 1 year ago

pratyushsnake commented 3 years ago

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

mesub7 commented 3 years ago

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.

EAZYBLACK commented 3 years ago

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!

Eegras commented 3 years ago

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