This is a Discord bot written in NodeJS. This bot is used on the /r/guns official Discord subreddit for shitposting purposes.
Features of the bot:
-
Random list-based responses, e.g. !wuteat giving a list of foods
-
Static responses e.g. !dsl giving a link to an image.
-
Markov chain generation based on json files (Hesalite, OleMissTexan), users (!mimic @user), channels (!summary #textchannel)
-
git clone the repository
-
npm install in this directory
-
Create a file labeled "token.txt" that contains the token of your bot, found in the Discord developer API.