Giter VIP home page Giter VIP logo

skymadhigh-discord-bot's Introduction

Most of this bot is based off the YouTube API.

Commands

General

search - Returns the top 5 results from YouTube search.

Controls

play - Plays the first song in the queue, a specific song in the queue, or a song given a YouTube video URL.

example: !play

2nd example: !play https://www.youtube.com/watch?v=Ww9S7YWD-Ew

3rd example: !play 2

pause - Pauses current song

example: !pause

resume - Resumes current song

example: !resume

add - Adds a song to the queue, given a YouTube video url.

example: !add https://www.youtube.com/watch?v=Ww9S7YWD-Ew

stop - Stops the Discord bot, and makes the bot leave the channel.

example: !stop

queue - Lists the current song queue for the Discord bot

example: !queue

volume - Sets the volume of the Discord bot, out of 100. (default is 5)

example: !volume

help - Posts the commands to use this bot in the Discord chat.

example: !help

clear - Clears all messages for a channel

example: !clear

Installing the bot

For this project you will need NodeJS 8.0.0 or newer.

Once you have node installed do the following:

Since this project uses node-opus to handle audio, you will need to install windows-build-tools

Run this command to install it: npm install --global windows-build-tools

Once that's done, clone or download this repo, open the directory with 'package.json' in it and run npm install.

Starting the bot

Now that the bot has all the dependencies installed, you can run:

npm run start

or if you use yarn package manager:

yarn start

If you run into any issues feel free to leave a message on this repo, or email me at [email protected]

skymadhigh-discord-bot's People

Contributors

browne0 avatar

Stargazers

 avatar  avatar

Watchers

James Cloos 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.