-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
33 lines (26 loc) · 896 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
* @author uo1428
* @support .gg/uoaio
* @Donate patreon.com/uoaio
* @Note Dont take any type credit
*/
import dotenv from 'dotenv';
dotenv.config();
import colors from 'colors'
import boxConsole from 'box-console';
import Client from './src/client.mjs';
import antiCrash from './src/utils/antiCrash.mjs';
import config from './Assets/Config/config.mjs';
import embed from './Assets/Config/embed.mjs';
import emotes from './Assets/Config/emotes.mjs';
let aio = `Welcome to ${'Console'.blue.bold} by ${'ALL IN ONE | Development'.red}`;
let aio_server = `Support:- ${`https://discord.gg/uoaio`.brightGreen}`
let Uo = `Coded By ${`@uoaio`.brightCyan.bold}`;
console.clear()
boxConsole([aio, aio_server, Uo]);
const client = new Client()
client.start(config, embed, emotes).then(async c => {
client.loadEvents();
client.loadCommands()
}).catch(e => console.log(e.message))
antiCrash()