inital commit

This commit is contained in:
KGT1 2020-09-04 05:10:35 +02:00
commit 7122e292a5
3 changed files with 46 additions and 0 deletions

0
config.json Normal file
View File

17
index.js Normal file
View 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
View 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"
}
}