name updates
This commit is contained in:
+1
-4
@@ -1,6 +1,5 @@
|
|||||||
# Reddit Bot Docker Environment Configuration
|
# ModReplyBot Docker Environment Configuration
|
||||||
|
|
||||||
# .env file example (for Docker)
|
|
||||||
REDDIT_CLIENT_ID=your_client_id
|
REDDIT_CLIENT_ID=your_client_id
|
||||||
REDDIT_CLIENT_SECRET=your_client_secret
|
REDDIT_CLIENT_SECRET=your_client_secret
|
||||||
REDDIT_USERNAME=your_username
|
REDDIT_USERNAME=your_username
|
||||||
@@ -8,5 +7,3 @@ REDDIT_PASSWORD=your_password
|
|||||||
REDDIT_USER_AGENT=modbot by /u/your_username
|
REDDIT_USER_AGENT=modbot by /u/your_username
|
||||||
REDDIT_SUBREDDIT=your_subreddit
|
REDDIT_SUBREDDIT=your_subreddit
|
||||||
REDDIT_WIKI_PAGE=modbot-config
|
REDDIT_WIKI_PAGE=modbot-config
|
||||||
|
|
||||||
# Add this file to .gitignore if you commit your project
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
.env
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# ModBot Reddit Bot
|
# ModReplyBot Reddit Bot
|
||||||
|
|
||||||
This bot watches a subreddit for moderator reports containing triggers, approves posts, and leaves stickied comments. Triggers and comments are configured via a subreddit wiki page. All other settings are handled via environment variables.
|
This bot watches a subreddit for moderator reports containing triggers, approves posts, and leaves stickied comments. Triggers and comments are configured via a subreddit wiki page. All other settings are handled via environment variables.
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ This bot watches a subreddit for moderator reports containing triggers, approves
|
|||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
### 1. Subreddit Wiki Page
|
### 1. Subreddit Wiki Page
|
||||||
Create a wiki page (e.g. `modbot-config`) in your subreddit using Automoderator YAML format. Example:
|
Create a wiki page (e.g. `modreplybot-config`) in your subreddit using Automoderator YAML format. Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
triggers:
|
triggers:
|
||||||
@@ -37,9 +37,9 @@ REDDIT_CLIENT_ID=your_client_id
|
|||||||
REDDIT_CLIENT_SECRET=your_client_secret
|
REDDIT_CLIENT_SECRET=your_client_secret
|
||||||
REDDIT_USERNAME=your_username
|
REDDIT_USERNAME=your_username
|
||||||
REDDIT_PASSWORD=your_password
|
REDDIT_PASSWORD=your_password
|
||||||
REDDIT_USER_AGENT=modbot by /u/your_username
|
REDDIT_USER_AGENT=modreplybot by /u/your_username
|
||||||
REDDIT_SUBREDDIT=your_subreddit
|
REDDIT_SUBREDDIT=your_subreddit
|
||||||
REDDIT_WIKI_PAGE=modbot-config
|
REDDIT_WIKI_PAGE=modreplybot-config
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ version: '3.8'
|
|||||||
services:
|
services:
|
||||||
modbot:
|
modbot:
|
||||||
image: slfhstd.uk/slfhstd/modreplybot:latest
|
image: slfhstd.uk/slfhstd/modreplybot:latest
|
||||||
|
container_name: modreplybot
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user