ni5arga / reddit-modmail-to-discord

A Reddit Bot which sends you new incoming modmails of your subreddit to Discord through Discord Webhooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reddit to Discord Modmail Bot

This Python script is designed to create a Reddit bot that monitors incoming modmails to a specific subreddit and sends them to a Discord channel using webhooks.

Prerequisites

Before using this script, you need to have the following:

  • Python installed on your system.
  • Reddit API credentials (client ID, client secret, username, password, and user agent).
  • A Reddit account that is a moderator of the subreddit you want to monitor.
  • The name of the subreddit you want to monitor.
  • A Discord server with a text channel where you can create a webhook.
  • The Discord webhook URL.

Installation

  1. Clone or download this repository to your local machine.

  2. Install the required Python libraries:

    pip install -r requirements.txt
  3. Open the main.py script in a text/code editor.

Replace the following placeholders with your actual information:

YOUR_REDDIT_CLIENT_ID YOUR_REDDIT_CLIENT_SECRET YOUR_REDDIT_USERNAME YOUR_REDDIT_PASSWORD YOUR_REDDIT_USER_AGENT YOUR_SUBREDDIT_NAME YOUR_DISCORD_WEBHOOK_URL

  1. Run the script py main.py

About

A Reddit Bot which sends you new incoming modmails of your subreddit to Discord through Discord Webhooks


Languages

Language:Python 100.0%