Skip to content

A Simple Discord Bot that interacts with the Reddit API to fetch the media URLs linked to the posts

License

Notifications You must be signed in to change notification settings

asyncg/SubRedBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SubRedBot

A simple discord bot that retrieves images/GIF links from reddit posts

Installation

  • Clone the repository
git clone https://github.com/BoredRyuzaki/SubRedBot.git
  • Move into the directory and install dependencies using poetry
cd SubRedBot
poetry install
  • Add the .env file to the project root
touch .env

It should look something like this

REDDIT_CLIENT_ID=<YOUR_CLIENT_ID>
REDDIT_CLIENT_SECRET=<YOUR_CLIENT_SECRET>
REDDIT_USER_AGENT=<USER_AGENT_NAME>
DISCORD_TOKEN=<YOUR_DISCORD_BOT_TOKEN>
  • Run it!
poetry run python src/bot.py

About

A Simple Discord Bot that interacts with the Reddit API to fetch the media URLs linked to the posts

Resources

License

Stars

Watchers

Forks

Languages