nice new update

This commit is contained in:
404invalid-user 2025-01-18 01:27:58 +00:00
parent e136522421
commit 666638c956
136 changed files with 4483 additions and 9190 deletions

15
src/index.ts Normal file
View file

@ -0,0 +1,15 @@
require('dotenv').config({ path: __dirname + '/../.env' });
import { connect } from './database/index';
import { login } from './bot/index';
import updateSlashCommands from './updateSlashCommands';
import { start } from './site/index'
async function main(): Promise<void> {
await connect();
await login();
if (process.env.RELOADCMDS !== 'false') await updateSlashCommands();
await start();
}
main();