made websockets able to run functions
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# Discord Commands
|
||||
|
||||
### `/bk_week_add [url] [approve]`
|
||||
Adds a URL to the list of posts. This is done automatically by the bot for certain posts.
|
||||
- **`[approve]`**: `true` or `false`, determines whether to pre-approve the post.
|
||||
|
||||
### `/bk_week_remove [url]`
|
||||
Removes an existing URL from the list of posts.
|
||||
|
||||
### `/bk_week_approve [url]`
|
||||
Flags the post as **human_approved**, confirming that the artwork is original.
|
||||
|
||||
### `/bk_week_disapprove [url]`
|
||||
Reverses the effect of `/bk_week_approve`.
|
||||
|
||||
#### **Examples**
|
||||
```
|
||||
/bk_week_add https://reddit.com/post_url false
|
||||
/bk_week_add https://reddit.com/post_url
|
||||
/bk_week_approve https://reddit.com/post_url
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Reddit Commands
|
||||
|
||||
To execute a command on the Reddit bot, include `"u/ByteDiceAssistant [args]"` in a comment.
|
||||
- **`[args]`**: The command you want to run.
|
||||
|
||||
### `bk_week_add`
|
||||
Adds the post to the list of posts.
|
||||
- **Only moderators of a subreddit or the OP (Original Poster) can use this command.**
|
||||
|
||||
#### **Examples**
|
||||
```
|
||||
"u/ByteDiceAssistant bk_week_add"
|
||||
"Cool art, let me add that. u/ByteDiceAssistant bk_week_add"
|
||||
"Cool art. Just gonna u/ByteDiceAssistant bk_week_add so it can become featured."
|
||||
```
|
||||
Reference in New Issue
Block a user