Skip to content

lesageethan/Silver-VoiceBot

 
 

Repository files navigation

Silver-VoiceBot

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

This bot is no longer being developed due to lack of interest and difficult bug-fixing. Please contact me if you have any questions, but I will no longer be fixing or improving the code.

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

Improvements

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

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

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

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

  • Changed the prefix from '!' to '//' to avoid clashing with other Discord bots

  • 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

  • Stop random crashing

  • Improve voice recognition

  • Add information to 'help' command

  • Add voice

  • Make public

  • Add other functions

  • Add queue

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: lesageethan@gmail.com.

If you can think of improvements, or if you want to add some improvements, please make a pull 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!

Changelog

For the sake of transparency, here is a list of all versions and updates:

Version Number Contributor Changes
v1.0.0 "Saucito" EthanLS Initial Contribution

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Batchfile 0.1%