A Discord bot designed for taking self-hosted media server requests from users

Related tags

Video/Audio Jellybot
Overview

Jellybot

A Discord bot designed for taking self-hosted media server requests from users

What's it for?

If you're coming across this, you probably have a Jellyfin or Plex Media server that you host. I encountered a problem when it came to having users other than myself. There was no easy way to accept media requests from users.

That's where Jellybot comes in! It allows you to set up a Discord Bot in a server of your own to accept submissions from users. It also allows you to set up a receipt channel where you can see the history of all fulfilled media, will DM users when their requests have been fulfilled, allows you to sort requests by type, and much more!

How do I set it up?

The one thing you must know is that this isn't like most bots you will see. You have to host the bot yourself because I don't have the hardware, time, or knowledge to host it for you and it's designed for people who have experience self-hosting anyway. It's very low-power, so it will have no problem running on the same machine that you host your media server on.

TL;DR and ASAP Setup instructions at the bottom

Register a bot with Discord

Even if you already have one made, I emplore you to read this section to make sure it has all of the permissions it needs. I won't go into extreme detail (anyone is absolutely welcome to create a PR to make this more in-depth) but the basics are that you need to select "bot", "register application commands", and "send messages" in the URL generator of the bot. Then, add the bot to your server of choice.

Install Node.JS

This bot is written for Discord.js v13.5.0 which requires at least Node v16.9. Click on the Node hyperlink and select Current, probably on the right.

Download bot code and install dependencies

Download the zip of the code from the repo by clicking Code (in green above) and then "Download Zip." Extract the folder into your desired location and open a Terminal/Cmd window there. In that terminal, run npm install discord.js, npm install @discordjs/rest, and npm install sqlite3. You will likely get vulnerability errors for that last package, but it shouldn't be an issue as we're not dealing with high sensitivity data here.

Configure the Bot

You're on the home stretch! Open constants.json and get ready to set some values! Replace the placeholder text with the information you want to give the bot. The "database" value is just a path to the database of requests.

Run the Bot

This is it! In the same terminal window you installed the dependencies with (if you closed it, open another in the same place) and-- hold on. I need to intorduce you to the Launch Options.

Base Command: node index.js

Arguments:

  • -crg Registers the commands for your bot globally
  • -cr <id> Registers the commands for a certain guild (you will get duplicates if you do both global and private)
  • -dcr <id> De-Registers all commands for a certain guild
  • -dcrg De-Registers all global commands

When should you use them? It depends on your use case, really. Basically, global commands won't appear in guilds for 1 hour after they are registered. Why they decided to do this? I'm not entirely sure! But global commands will work without re-registering if you add the bot to a new guild, as well as being able to be used in the bot's DMs. Local commands will be applied instantly but are per-guild and cannot be used in the bot's DMs.

For most people, I recommend using -cr until you decide that's not working well for you. So for example, the full command when registering commands for a guild with an ID of 859116276689666088 would be node index.js -cr 859116276689666088. You only have to register once after the commands are updated. So if you add a command of your own, you have to register again. You don't have to de-register, though!

If you have any issues, feel free to DM me on Discord at Vyladence#9110 or join my Discord Server.

ASAP Setup

  • Create a bot in Discord Developer Portal and add it to your server with the "bot" and "application.commands" scopes, as well as the "send messages" permission in the bot's OAuth URL Generator and add the bot to the guild you plan on using it in.
  • Install Node.JS Current
  • Download the latest release of Jellybot and extract
  • Open a CMD or Terminal window in the extracted folder
  • Run the following > npm install discord.js npm install @discordjs/rest npm install sqlite3
  • Change the unset values in constants.json to the correct information for your bot
  • Copy the ID for the guild you added the bot to
  • Once again in the terminal window you opened (open a new one if you closed it), run node index.js -cr <guild id>

That should be it! I still do recommend you read the rest of the readme when you have time

You might also like...

About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this command handler.

discordJS-V14 About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this

Dec 28, 2022

Colour me! is a simple Discord bot running on Cloudflare Workers that allows server admins to give users the ability to change the colour of their own assigned colour roles!

Colour me! Colour me! is a simple Discord bot that allows server admins to give users the ability to change the colour of their own assigned colour ro

Dec 24, 2022

A Discord bot that snitches on the lore & events, i.e. lies, about any two random users within a server.

A Discord bot that snitches on the lore & events, i.e. lies, about any two random users within a server.

Trash Panda Bot Trash Panda Bot A little trash panda to randomly post in your Discord server. Explore the docs » · Report Bug · Request Feature Table

May 29, 2022

nganu bot, multi device based simple whatsapp-bot with social media downloader

nganu bot, multi device based simple whatsapp-bot with social media downloader

nganu A Simple Multi-Device WhatsApp Bot simple whatsapp-bot using baileys-md to download social media post and many features Install set instagram se

Nov 20, 2022

The self-improvement discord bot.

ASI-DiscordBot The self-improvement Discord bot. The first service of the Adonis Self-improvement project, allowing users to keep track of their self-

Dec 30, 2022

A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff.

A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff.

Suggestions A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff. St

Dec 24, 2022

Skarbówka is a discord bot that is designed to waste your time on some stupid economy commands.

Skarbówka is a discord bot that is designed to waste your time on some stupid economy commands.

SKARBÓWKA - A shitty discord bot that you don't need Invite the bot It's a discord bot that has economy and casino commands that you can use in case o

Sep 9, 2022

Discord Bot of the NCS's Discord server.

Installation Install dependencies npm install Start the server npm start Usage/Examples Create .env file touch .env Add this to the file TOKEN=y

Sep 3, 2022

The Discord Bot for the AvdanOS Community Discord server.

Tinan The Discord Bot for the AvdanOS Community Discord server, made using discord.js v13.8. How to contribute Forking Step 1: Make a contribution for

Dec 1, 2022
Releases(v1.1.1)
Owner
null
Self hosted media tracker for movies, tv shows, video games, books and audiobooks

MediaTracker · Self hosted platform for tracking movies, tv shows, video games, books and audiobooks, highly inspired by flox Demo https://mediatracke

null 225 Jan 3, 2023
Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot that handles all your server needs.

Welcome to Co-Pilot Bot repo! ?? ?? Co-Pilot (All-in-one Discord Bot) Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot

YMafalha 19 Nov 11, 2022
A self-hosted, completely private and free music streaming server compatible with Synology Audio Station's web browser interface and smartphone apps.

Open Audio Server Open Audio Server is a music streaming server compatible with Audio Station by Synology. Audio Station creates your own private serv

null 91 Dec 11, 2022
A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.

Public Bot and Support Server! Invite the Public Version of this Bot so you don't need to host it by yourself or join my Discord server to get a custo

Tomato6966 472 Dec 25, 2022
Mabicord AIO is a Discord bot that handles MMORPG Mabinogi's bugle messages, designed to serve a single Discord server.

Welcome to NamVr Discord Bot Template ?? An open source discord.js bot template which is based on official discord.js guide to get started on making y

Shane Lx 2 Jul 13, 2022
New base bot WhatsApp 🈴 bukan self bot lagi atau buka bot yang bisa di pakai oleh bot sendiri 😎

Installation • Thanks to • Donate Official Group Bot • Settings Instalasi Heroku Buildpack Click the deploy icon below ! > heroku/nodejs > https://g

zeeone 27 Feb 9, 2022
An easy way for users to appeal from a server ban. Hosted with Cloudflare workers.

Discord Ban Appeal Make it possible for users to appeal their bans online With a simple configuration to make your form unqiue to your server and with

Philip 5 Aug 10, 2022
Discord-Bot - You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have published on my youtube channel.

Discord-Bot You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have publishe

Umut Bayraktar 114 Jan 3, 2023
This bot can raise your mood. This bot send joke often our channel for users. Sometimes bot don't work because we have not server for this project...)

Hi, welcome to send-joke-bot telegram bot project ?? What can do this bot ? This bot can raise your mood. This bot send joke often our channel for use

Muhammadamin 5 Sep 26, 2022
Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Remoklify - Gitlift Discord Bot Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total

Remoklify 3 Mar 20, 2022