Initial upload of the project in its first usable version

This commit is contained in:
Matias Espinoza
2023-03-13 05:41:45 -03:00
commit 46c766fd38
21 changed files with 3045 additions and 0 deletions

20
src/index.ts Normal file
View File

@ -0,0 +1,20 @@
import dotenv from 'dotenv';
import { Bot } from '@/bot';
import { Api } from '@/api';
/**
* Configure dotenv.
*/
dotenv.config();
/**
* OpenAI contained in API Module.
*/
const api = new Api();
api.run();
/**
* Discord contained in Bot Module.
*/
const bot = new Bot(api);
bot.run();