Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ijsbol/patreondiscordbotkoficompatibilitypatch
Patreons Discord bot will remove roles from users who do not have an active subscription, regardless on if they ever had a subscription. This fairly poor implementation results in numerous issues and makes it impossible to use other subscription services such as KoFi or BuyMeACoffee with the same reward roles as Patreon. This bot fixes that.
https://github.com/ijsbol/patreondiscordbotkoficompatibilitypatch
buymeacoffee discord discord-bot kofi patreon python
Last synced: 2 days ago
JSON representation
Patreons Discord bot will remove roles from users who do not have an active subscription, regardless on if they ever had a subscription. This fairly poor implementation results in numerous issues and makes it impossible to use other subscription services such as KoFi or BuyMeACoffee with the same reward roles as Patreon. This bot fixes that.
- Host: GitHub
- URL: https://github.com/ijsbol/patreondiscordbotkoficompatibilitypatch
- Owner: ijsbol
- License: mit
- Created: 2023-03-16T20:26:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T17:16:25.000Z (7 months ago)
- Last Synced: 2025-01-01T00:25:51.615Z (8 days ago)
- Topics: buymeacoffee, discord, discord-bot, kofi, patreon, python
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PatreonDiscordBotKoFiCompatibilityPatch
| | |
|--|--|
| |
|Patreons Discord bot will remove Discord roles from users who do not have an active subscription, regardless on if they *ever* had a subscription.
This fairly poor implementation results in numerous issues and makes it impossible to use other subscription services such as KoFi or BuyMeACoffee with the same reward roles as Patreon.
This bot fixes that.
## Setup
All you need to do to set it up yourself is to create a new role (i.e a role called "Patreon Subscriber") that is given to *everyone* who subscribes through Patreon and then update the example.env file's `PATREON_ROLE_ID` to be equal to the role ID of that role.After you have done that you just need to create a Discord bot, set the `DISCORD_BOT_TOKEN` equal to your bots token & then rename `example.env` to `.env`.
To setup on a VPS you need to install Python 3.8+ and run the following command: `pip install -r requirements.txt`, alternatively you may need to do `python -m pip install -r requirements.txt`. Then just run like normal with `python patreonfix.py`.
## But why don't KoFi/BuyMeACoffee need one of these?
Well, that's because KoFi & BMAC hired a competent developer. Instead of removing roles from *everyone* they instead only remove roles from people who *have cancelled their subscription.* This means that KoFi/BMAC will *only* remove roles from people who were originally given the roles through KoFi/BMAC and have since cancelled their subscription (i.e. when they are supposed to take roles away).## Example
![Logo](https://i.imgur.com/wpzlm7k.png)