Version 0.2.0 - Ajout du serveur Web et de l'Autheification Discord

This commit is contained in:
Raphix
2023-08-22 17:44:21 +02:00
parent 99ce148521
commit baa74459a1
20 changed files with 902 additions and 12 deletions

View File

@@ -1,8 +1,10 @@
const fs = require("node:fs")
const path = require("path")
const { LogType } = require("./modules/sub-log")
const { DiscordBot } = require("./modules/discord-bot")
const { __glob } = require("./modules/global-variables")
const { DiscordBot } = require("./modules/discord-bot")
const { WebServer } = require("./modules/sub-web")
setup()
@@ -11,12 +13,11 @@ function setup() {
//Log - INIT PHASE
const dlog = new LogType("Discord")
const wlog = new LogType("Web")
const alog = new LogType("Authentification")
// Discord Bot - INIT PHASE
const bot = new DiscordBot(getConfig(dlog), dlog)
const web = new WebServer()
}