Git Product home page Git Product logo

rhythm-bot's Introduction

Rhythm-Bot 2.1.5 Search / Rich Text / Buttons!

  • New search command anything after !search will be searched against youtube and return the top 3 results
  • Press the thumbs up reaction emoji to add the item to your queue
    • Note that you will want to give the bot permission to remove emojis in the text channel, this is the MANAGE_MESSAGES permission
  • Node version has updated from 10.x.x to 12.x.x due to discord.js update
  • New npm packages to install
  • Replaced dependence on manually installing ffmpeg
    • Now ffmpeg is installed via npm with ffmpeg-static when you do a simple npm install
  • In addition to the reaction button interaction on the search command you can now use buttons for the new playing control

Image

Note: This is not the bot listed here https://rythmbot.co/

Description

Simple little music bot to queue up and play youtube audio over discord voice channels.

Unlisted dependencies

  • Python2.7 This version is required for node-gyp I think?
  • node-gyp command line tool
  • node.js version 12.X.X or higher is required
  • typescript types for javascript, enables easier group collaboration and simple right click to look up definitions

Installation

  • Install node latest stable release, this was built with node v12.16.1
  • For windows run npm install --global --production windows-build-tools
    • Run npm config set python python2.7
    • Run npm install node-gyp -g
    • Run npm install typescript -g
    • Run npm install

Configuration

  • Get a token string for your bot from by registering your bot here: https://discordapp.com/developers
    • You should be able to find options to invite your bot to a channel here as well
  • Open bot-config.json and replace the content between the quotes "<BOT-TOKEN-HERE>" with your bot token.
    • In config you can add other settings, to see an example of the settings open ./src/bot/config.ts and look at DefaultBotConfig and BotConfig for eamples
  • Open bot.log if your looking to debug errors

Running the Application

  • Run npm start

rhythm-bot's People

Contributors

dependabot[bot] avatar happypiro1412 avatar malexion avatar

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.