Skip to content

agoodusernam/Reddit-Stats-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subreddit Stats Bot

A discord bot that sends statistics about a specific subreddit and the moderators of that subreddit.

Installation

  1. Clone the repository:

    git clone <>
  2. Navigate to the project directory:

      cd RedditStatBot
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Go into the .env file and set the following variables:

    • DISCORD_TOKEN: Your Discord bot token.
    • SUBREDDIT: The subreddit you want to get statistics for. (e.g., r/python).
    • REDDIT_CLIENT_ID: Your Reddit app client ID.
    • REDDIT_CLIENT_SECRET: Your Reddit app client secret.
    • REDDIT_USER_AGENT: A user agent string for your Reddit app.
    • REDDIT_USERNAME: The username for the reddit account.
    • REDDIT_PASSWORD: The password for the reddit account.
  5. Run the bot:

    python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages