A simple discord bot that uses past channel messages and markov chains to generate random messages which sometimes makes sense and sometimes funny.
The bot listens for it's own mention and when it receives it, it retrieves the past 1500 messages (no bot message or link) and trains a markov chain model on the messages and generates a response using it.
- Clone the repo and navigate to the project dir.
- Install the requirements.txt file.
- Create an env file and put your token like this: token='your_token' where your token is the token of your bot.
- Run the bot
- If the bot is mentioned in a channel it can see, it'll send the response.
Thanks to the Markov Bot for this. That's written in typescript, mine's written in python :)