Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ni5arga/reddit-modmail-to-discord-praw
A Reddit Bot which sends you new incoming modmails of your subreddit to Discord through Discord Webhooks
https://github.com/ni5arga/reddit-modmail-to-discord-praw
discord discord-webhooks hacktoberfest modmail praw reddit reddit-bot reddit-moderation
Last synced: about 17 hours ago
JSON representation
A Reddit Bot which sends you new incoming modmails of your subreddit to Discord through Discord Webhooks
- Host: GitHub
- URL: https://github.com/ni5arga/reddit-modmail-to-discord-praw
- Owner: ni5arga
- Created: 2023-10-17T00:21:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-02T23:40:53.000Z (6 months ago)
- Last Synced: 2024-12-22T12:39:34.700Z (6 days ago)
- Topics: discord, discord-webhooks, hacktoberfest, modmail, praw, reddit, reddit-bot, reddit-moderation
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reddit to Discord Modmail Bot (PRAW)
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:
```bash
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`4. Run the script `py main.py`