mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-23 18:21:55 +01:00
18 lines
305 B
JavaScript
18 lines
305 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const DISCORD = require('discord.js');
|
||
|
|
||
|
const JELLYFIN_CLIENT = require('jellyfin-apiclient');
|
||
|
|
||
|
const CONFIG = require('./config.json');
|
||
|
|
||
|
|
||
|
const DISCORD_CLIENT = new DISCORD.Client();
|
||
|
|
||
|
client.on('ready', () => {
|
||
|
console.log('connected to Discord');
|
||
|
});
|
||
|
|
||
|
|
||
|
client.login('your token here');
|