Coder Social home page Coder Social logo

silver-voicebot's Introduction

Silver-VoiceBot

A voice-controlled Discord Bot, based off of code from XianHaiC.

To test the bot, use the test discord server: https://discord.gg/QCR2nkb

About

This project was created to revive XianHaiC's 'VoiceBot' from 2017. I have not only fixed his original VoiceBot, but I have improved it in a number of ways:

  • I have added a prefix for voice commands: "Silver, play Arctic Monkeys"

  • I have simplified the playing system, removing the queue. This makes it more voice-interaction friendly

  • I have removed the imagebot functionality, as this was broken (I think)

  • I have changed the prefix from '!' to '//' to avoid clashing with other Discord bots

  • I have added a beep when the bot listens, so users are alerted

  • Recordings are now deleted as they are used, so creepy recordings are not stored anywhere

  • The correct node modules are included with the repo now, as they need to be installed in a specific order or they will not work

Setup

To set up the bot, you will need to first get an API key for each of the required APIs (found in 'settings.json'). You then just need to run the index.js file.

The modules which are in the repo should not be tampered with, as they have to be installed in a specific order to work.

Usage

Use '//help' command to see a list of all the commands.

Use '//listen' to get Silver to listen to the channel you are in. use '//leave' to get the bot to leave.

Voice commands should be said like so: "Silver, play ". The commands are recognized best when a ~1 second pause between "Silver" and your command.

Maintenence

I want to keep this repo fresh and regularly updated. If you find any bugs please message me on my twitter: https://twitter.com/RealEthanLS, or email me: [email protected].

If you can think of improvements, or if you want to add some improvements, please make a push request. I would be more than happy to let you improve the code.

Sorry if the code is messy, this is my first ever NodeJS project!

silver-voicebot's People

Contributors

xianhaic avatar lesageethan avatar

Watchers

James Cloos avatar Will BL 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.