mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-23 18:21:55 +01:00
inital commit
This commit is contained in:
commit
7122e292a5
0
config.json
Normal file
0
config.json
Normal file
17
index.js
Normal file
17
index.js
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
'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');
|
29
package.json
Normal file
29
package.json
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"name": "jellyfin-discord-music-bot",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"description": "A Discord Music Bot for the Jellyfin Media Server",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/KGT1/jellyfin-discord-music-bot.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"Jellyfin",
|
||||||
|
"Discord",
|
||||||
|
"Discord-Bot"
|
||||||
|
],
|
||||||
|
"author": "KGT1",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/KGT1/jellyfin-discord-music-bot/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/KGT1/jellyfin-discord-music-bot#readme",
|
||||||
|
"dependencies": {
|
||||||
|
"@discordjs/opus": "^0.3.2",
|
||||||
|
"discord.js": "^12.3.1",
|
||||||
|
"jellyfin-apiclient": "^1.4.1"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user