mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-23 18:21:55 +01:00
Add Jellyfin Events
This commit is contained in:
parent
831dd98ec6
commit
715eee0a5f
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
const { ApiClient } = require('jellyfin-apiclient');
|
const { ApiClient , Events } = require('jellyfin-apiclient');
|
||||||
const CONFIG = require('../config.json');
|
const CONFIG = require('../config.json');
|
||||||
const os = require('os');
|
const os = require('os');
|
||||||
|
|
||||||
@ -13,7 +13,12 @@ function getJellyfinClient(){
|
|||||||
return jellyfinClient;
|
return jellyfinClient;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getJellyfinEvents(){
|
||||||
|
return Events;
|
||||||
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
getJellyfinClient,
|
getJellyfinClient,
|
||||||
|
getJellyfinEvents,
|
||||||
init
|
init
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user