Giter Club home page Giter Club logo

discord-tts's Introduction

Text to speech Discord bot using FakeYou.

Massive thanks to @echelon for supporting this project!

Commands

Join

Joins your voice channel.

/join

Leave

Leaves your voice channel.

/leave

Say

Generates speech using FakeYou, sent as an attachment.

/tts <voice> <message>

  • <voice>: Voice model to speak with. Use /voices to list all options. Use keyword "random" to get a random voice.
  • <message>: Message to speak.

Say (voice chat)

Generates speech using FakeYou, spoken through voice chat.

/ttsvc <voice> <message>

  • <voice>: Voice model to speak with. Use /voices to list all options. Use keyword "random" to get a random voice.
  • <message>: Message to speak.

Voices

Lists all available voices.

/voices

Setup

  1. Create your app with a Bot.
  2. Copy your bot's secret token and paste it into config.json.
  3. If you have a FakeYou API token, paste it into config.json.
  4. Go to https://discordapp.com/oauth2/authorize?client_id=<CLIENT_ID>&scope=bot%20applications.commands&permissions=3196928, with <CLIENT_ID> as your app's client ID.
  5. Install Node.js: brew install node
  6. Install FFmpeg: brew install ffmpeg
  7. Install the dependencies: npm install
  8. Run the bot: npm start

discord-tts's People

Contributors

mysterypancake avatar colinketcham 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.