Giter Site home page Giter Site logo

andrewc2 / lhwb-bot Goto Github PK

View Code? Open in Web Editor NEW
24.0 6.0 8.0 1.81 MB

A Discord bot for Taylor Swift music.

Home Page: https://lhwb.dev/

License: GNU General Public License v3.0

JavaScript 84.94% PHP 13.56% CSS 1.50%
nodejs music-bot taylor-swift discord-js discord-voice discord-js-v14 discord discord-bot music slash-commands

lhwb-bot's Introduction

LosingHimWasBlue-Bot

A bot for our Discord server.

I do not guarantee stability when used on any other server, though it should work.

Requirements

node.js

discordjs, discordjs/opus, discordjs/voice, discordjs/rest, discord-api-types

sodium, cron-schedule, node-fetch, ffmpeg, mysql2, luxon, winston

Usage

Uses mysql for storage of song information and playcount data, as well as recently played songs, and queues.

Install FFMPEG

apt-get install ffmpeg

Point ffmpeg to PATH

Edit .bashrc and add export PATH="/usr/bin/ffmpeg:$PATH" assuming ffmpeg was installed in the default location

source .bashrc to save PATH

Install Music Bot (using Ubuntu)

apt-get install libtool-bin libtool autoconf automake npm

npm install -g n to install node

npm install pm2 -g

npm install for most other dependencies

Running

Rename example.config.json and example.voice-servers.json to remove the example. and fill in your information.

node deploy.js - to deploy slash commands

node index.js - to run bot

Extra Special Thanks to:

username13 for doing all the heavy lifting.

Special Thanks to the previous contributors:

FS(@swiftlyanerd), Adam (@louistio), Historicc (@richmoj3), and Donran (@Donran).

Spiritual successor to the original fork from

https://web.archive.org/web/20200905223005/https://github.com/richmoj3/Red-Bot

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.