Git Product home page Git Product logo

karaoke-bot's Introduction

Karaoke Discord Bot

A bot for running a karaoke queue in a Discord Server using Python 3.7

SQLite

Since I designed this bot to run on a Raspberry Pi, I have decided to use SQLite3. This is fine because Python has tight integration with it... and nothing else works out of the box.

Service

A systemctl service file is included for use. It requires screen to use, so you may need to sudo apt-get install screen. This service expects the code to be in the directory /users/discord/karaoke_bot

To install it:

  1. Copy the file to /etc/systemd/system/ under the name [email protected]
  2. sudo systemctl enable discord_service@karaoke_bot
  3. ???
  4. Profit

systemctl should start the screen session up. You can attach to the screen session by typing screen -r discord-karaoke_bot. This will allow you to see the console output. If you wish to disconnect from the screen session while keeping it running, press Ctrl+a then Ctrl+d.

Configuration File

The systemctl service does not provide command line arguments. You can utilize the configuration file to provide the arguments.

Requirements

  • discord.py

Updates

I was forced to update the version of discord.py, and thus the python version, to fix an issue with reactions breaking the bot. I have refactored the code to now work inside a virtualenv, please take note.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.