mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-23 18:21:55 +01:00
add discord client manager
This commit is contained in:
parent
eecf5d47ab
commit
5482bb9380
15
src/discordclientmanager.js
Normal file
15
src/discordclientmanager.js
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user