Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hardcoremagazine/reddittodiscordshare
Extract content from reddit "Share" links
https://github.com/hardcoremagazine/reddittodiscordshare
bot discontinued discord discord-bot python reddit utility
Last synced: about 1 month ago
JSON representation
Extract content from reddit "Share" links
- Host: GitHub
- URL: https://github.com/hardcoremagazine/reddittodiscordshare
- Owner: HardcoreMagazine
- License: mit
- Created: 2022-05-17T17:21:20.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-24T18:45:18.000Z (over 1 year ago)
- Last Synced: 2023-09-24T20:49:03.304Z (over 1 year ago)
- Topics: bot, discontinued, discord, discord-bot, python, reddit, utility
- Language: Python
- Homepage:
- Size: 606 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RedditToDiscordShare (RTDS)
Bot made explicitly to extract
images/links & text from Reddit links
and post them as embedded files
-- so your friends/server-mates don't have to open post
in reddit app.***Project has been discontinued due to [Reddit API changes](https://en.wikipedia.org/wiki/2023_Reddit_API_controversy)***.
**Tested and works with**:
- Normal & "share" links
- Links with brackets '<', '>' and '||spoiler||' tag
- Posts that contain external links (such as YouTube, Imgur, Wikipedia)
- GIF posts
- NSFW posts**Doesn't work with**:
- Reddit videos
- Gallery (multi-picture) posts---
### Usage [new]
All commands can be accessed with /
![image](image2.png)
If users cannot access bot commands (none available/show up),
make sure you set 'Integration' settings right!---
### Usage [legacy]
```
[prefix]help - list all commands
[prefix]cv [Submission_URL] - extract image/link from selected post
[prefix]cvt [Submission_URL] - extract text from selected post
```
Example:
![image](image.png)---
### Dependencies
```
Python 3.8.10
py-cord >= 2.3.2
asyncpraw >= 7.6.1
```
Work on older or newer versions of libraries not guaranteed!---
### 'cfg.py' contents
```
settings = {
'discordAPI': {
'token': 'bot_private_token',
'prefix': ','
},
'redditAPI': {
'client_id': 'client_id',
'client_secret': 'secret',
'password': 'password', # optional for public submissions
'user_agent': 'Reddit -> Discord link extraction (by u/HardcoreMagazine)',
'username': 'username', # optional for public submissions
}
}
```