A Discord bot that can be configured to regularly post memes from Reddit in a text channel.
Memetron uses Reddit's API to see if any new posts have made it to the "Hot" section in a subreddit. If so, it grabs the image(s) posted and embeds them in a message.
- Currently only static images work. Gifs and videos do not embed properly.
- Configuration is currently done from a
config.json
file. As such, I am not hosting a public bot which you can add to your Discord server freely. If you wish to add this bot, you will need to host it yourself.
Requires Node.js and NPM installed as well as a registered Discord Bot account. Familiarity with the JSON format is needed in order to configure the bot.
git clone https://github.com/dpleshkov/memetron-bot.git
cd memetron-bot/
npm install
Configuration is done through the config.json
file. An example config.example.json
is
included with the repo.
Copy over the example file:
cp config.example.json config.json
And edit it with a text editor:
Replace your bot token
with your bot's API token. Then, specify subreddits to watch,
such as r/dankmemes
. For each subreddit, specify one or more channels that the bot
will output to. You can get channel IDs by enabling developer mode in the Discord app,
then right clicking on a text channel's name.
npm start