/discord-kitt-mimic3

Discord Bot that announces when a member joins the voice channel that this bot is in. Supports personalized messaged, and 60+ voices/multilingual

Primary LanguageTypeScriptOtherNOASSERTION

Discord Bots Discord Chat

Kitt: A Discord Bot

A docker container that runs the Kitt Announcer Bot.

Setup

  1. Copy the .env.example to .env
cp .env.example .env
  1. Configure your DISCORD_TOKEN (obtained via discord)

Install

Run via Docker, or locally via npm

Docker

Development

Uses local bot/src so any changes made will cause the process to restart via nodemon.

docker-compose up

Deploy

chmox +x bin/deploy.sh
./bin/deploy.sh

note: Remember to remove containers if switching NODE_ENV from production to development and vice-versa, as the image needs to be rebuilt and avoid pruning devDependencies.

Locally

npm install
docker-compose up

if you add a new npm package, run docker-compose up --build to rebuild the container while testing

Custom Lexicons

Lexicons are XML/PLS files that describe pronunciation of specific words and phrases. Custom lexicons can be uploaded here: https://console.aws.amazon.com/polly/home/Lexicons

and are references in ./bot/src/lib/constants.ts under LEXICONS