// ormconfig.json
{
"type": "mysql",
"host": "localhost",
"port": 3306,
"username": "<your mysql username>",
"password": "<your mysql password>",
"database": "<name of the database you just created>",
"synchronize": true,
"logging": false,
"entities": ["build/bot/database/entities/*.js"],
"migrations": ["build/bot/database/migrations/*.js"],
"subscribers": ["build/bot/database/subscribers/*.js"],
"cli": {
"entitiesDir": "build/bot/database/entities",
"migrationsDir": "build/bot/database/migrations",
"subscribersDir": "build/bot/database/subscribers"
}
}
// private.ts
export const adminDiscordIds = ['<a discord ID you want monthly updates sent to>', ...];
export const databasePassword = '<password of the mysql database>';
export const discordBotId = '<the ID of your Discord bot's application>';