Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.48 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.48 KB

Thesaurize

A fun bot for Discord inspired by OrionSuperman's ThesaurizeThis Reddit bot. Given a sentence, it replaces each word with a synonym of that word.

Usage

You will need a Discord bot account and its corresponding token in order to proceed. There are good tutorials on how to do this elsewhere like this one.

Using Helm

This is the recommended method for deploying this application. Clone this repository and run the commands found below. Make sure to do them in the following order.

  1. First, create a persistent volume for Redis DB persistence. This depends on your cluster environment so however you wish to store data is up to you. See the Kubernetes docs on storage classes for more detail or the docs for your Kubernetes cluster provider (if they offer storage). If you need something simple, the hostPath class type is a good choice.

  2. Install the chart.

helm install thesaurize chart/ \
    --create-namespace --namespace thesaurize-bot \
    --set "thesaurize.apiToken.value=$DISCORD_API_TOKEN" \
    --set "redis.datastore.storageClassName=$STORAGE_CLASS_NAME"

That's it. The bot should be up and running within a few seconds once the Redis DB has finished loading.

License

MIT