Skip to content

Attempt to create a Discord bot that creates Markov Chains based on user messages to simulate sentences.

Notifications You must be signed in to change notification settings

atzhou8/MarkovBoi

Repository files navigation

MarkovBoi

A Discord bot that uses second-order Markov Chains to simulate sentences, created using the Java Discord API. Markov chains are constructed for every user in order to mimic specific people, alongside a "master" chain that contains messages sent by everybody. In addition, the bot also has access writings/speeches of several historical figures, from which it can also simulate text.

Commands

!help -> Provides a list of commands. Type !help <commandName> to see more specific usage information for a particular command

!read -> Reads all of the messages in the text channel you use this command in. May take a few minutes depending on the size of your text channel. There should be no reason to use this more than once per channel, as the bot will automatically read any messages sent in a server after it is added.

!sim <user> <starting word (optional)> -> Simulates some words using the Markov chain of the specified user. Use !sim by itself if you just want to use the master chain with no starting word`

Acknowledgements

Thanks to Project Gutenberg and harshilkamdar for providing preloaded data that this bot uses.

About

Attempt to create a Discord bot that creates Markov Chains based on user messages to simulate sentences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages