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.
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.
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.
-
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. -
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.