add discord client manager

This commit is contained in:
KGT1 2020-09-05 08:20:19 +02:00
parent eecf5d47ab
commit 5482bb9380

View File

@ -0,0 +1,15 @@
const Discord = require('discord.js');
var discordClient;
function init(){
discordClient= new Discord.Client();
}
function getDiscordClient(){
return discordClient;
}
module.exports = {
getDiscordClient,
init
}