Files
SupportBot/index.js
T

24 lines
786 B
JavaScript
Raw Normal View History

2021-10-24 22:41:46 +01:00
// ___ _ ___ _
// / __> _ _ ___ ___ ___ _ _ _| |_ | . > ___ _| |_
// \__ \| | || . \| . \/ . \| '_> | | | . \/ . \ | |
// <___/`___|| _/| _/\___/|_| |_| |___/\___/ |_|
// |_| |_|
2020-06-15 23:58:37 +01:00
//
2021-06-30 21:30:41 +01:00
// SupportBot created by Emerald Services
// Installed with MIT License
2021-02-02 17:15:24 +00:00
//
2021-06-30 21:30:41 +01:00
// Discord Support: https://emeraldsrv.dev/discord
2021-10-04 20:41:05 +01:00
// Community Resources: https://emeraldsrv.dev/resources
2021-09-11 15:29:21 +01:00
2019-06-09 23:52:41 +01:00
const fs = require("fs");
2021-10-04 20:41:05 +01:00
const Discord = require("discord.js");
2021-10-24 22:41:46 +01:00
const yaml = require("js-yaml");
2021-10-27 19:30:10 -05:00
const supportbot = yaml.load(
fs.readFileSync("./Configs/supportbot.yml", "utf8")
);
2019-06-09 23:52:41 +01:00
2021-10-04 20:41:05 +01:00
const Client = require("./Structures/Client.js");
const client = new Client({});
2019-06-09 23:52:41 +01:00
2021-10-04 20:41:05 +01:00
client.start(supportbot.Token);