Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.
/ reddit-relink-bot Public archive

Open-source Discord bot that detects and relinks Reddit 'links' on Discord.

License

Notifications You must be signed in to change notification settings

Fyssion/reddit-relink-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit ReLink

Archive Note

I am done maintaining this project, so I have put it in an archived state. The Reddit ReLink Discord bot will no longer be online. However, if you wish to use the bot yourself, there are hosting instrucitons below. Please note that the source code may become very quickly outdated due to changes with Discord.

Invite ReLink Discord Bots

Invite Reddit ReLink to your server!

Info

Reddit ReLink is a Discord bot that relinks Subreddit 'links' users have sent.

Reddit ReLink currently relinks subreddits (r/SUBREDDIT) and users (u/USER).

Mention the bot for some basic info and a link back to here.

To globally opt out of ReLink, use @Reddit ReLink#1038 optout

You can opt back in with @Reddit ReLink#1038 optin

Every message the bot sends automatically deletes after 30 seconds.

If you want to delete the message sooner, just click the ❌ reaction.

If you want to keep the message, just react with 📌, and the bot won't delete it.

For example:

Example

Libraries

discord.py - Docs | GitHub | Discord Server

aiohttp - Docs | GitHub

PyYAML - Docs | GitHub

Install/Requirements

I would rather you just invite Reddit ReLink to your server, but if you really want to host it yourself, here are the instructions:

You must install Python and these libraries to run the bot.

Install Python 3.7+

Install the following libraries with PyPI (pip) OR install from requirements.txt:

  • discord.py>=1.2.5

  • pyyaml

  • async_timeout

  • OPTIONAL: jishaku What's this?

Next, clone the repository.

Create and fill in a config.yml file with the required items.

Example:

# In a file called config.yml:
discord_token: "DISCORD-TOKEN-HERE"

Run bot.py.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.