Help Center
Keep your bot token safe
How to protect your token and what to do if it leaks.
- Treat your bot token like a password. Anyone who has it can control your bot.
- Store it only as an environment variable in your bot settings. Do not put it in code, screenshots, public repositories or support messages.
- Hartwell staff will never ask you for your token.
- If it might have leaked, open the Discord developer portal and reset the token immediately, then update the environment variable on Hartwell and restart your bot.
- Remove the old token from any code you shared, and check your bot for unexpected activity.
Never share your password, a bot token, a private key or card details with anyone, including Hartwell staff.