- This bot is private, it can't be added to your server!
- If you're looking for Foxy source code, click here
- We do not support self-hosting, use at your own risk
- Firstly, you need to clone this repository using:
git clone https://github.com/FoxyTheBot/FoxySupport
- Node.js v18 or higher
- Git
- TypeScript Compiler
- Yarn
- Open a terminal in the project folder
- Run
yarn
in the project root to install dependencies
- Create a file called config.json
- Copy the following code and paste it in the file
{
"token": "YOUR-BOT-TOKEN",
"ownerId": "YOUR-DISCORD-ACCOUNT-ID",
"clientId": "YOUR-BOT-ID",
"isProduction": false,
"mongouri": "YOUR-MONGODB-URI you can create it in https://www.mongodb.com/"
}
- To compile source, you need to run
yarn build
ornpx tsc
in your terminal - Check if a folder called
build/
has been created
- Finally, to run the instance, you need to execute
yarn start
ornode .
in your terminal