v3.0 #145

Merged
Vylpes merged 44 commits from develop into main 2022-04-24 14:46:37 +01:00
2 changed files with 9 additions and 5 deletions
Showing only changes of commit c7417cf7a5 - Show all commits

9
src/vylbot.ts Normal file
View file

@ -0,0 +1,9 @@
import { CoreClient } from "vylbot-core";
import * as dotenv from "dotenv";
dotenv.config();
if (!process.env.EMBED_COLOUR) throw "EMBED_COLOUR is required in .env";
const client = new CoreClient();
client.start();

View file

@ -1,5 +0,0 @@
const vylbot = require('vylbot-core');
const config = require('./config.json');
const client = new vylbot.client(config);
client.start();