Skip to content

A chatbot to accept cashapp or venmo donations on discord for a role.

License

Notifications You must be signed in to change notification settings

taux1c/Discord-Donation-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DockerHub Docker Pulls

Discord Donation Bot

This is a chatbot that enables donations on discord via Cashapp or Venmo.

Features

  • Ability to accept payments from Cashapp or Venmo.
  • Fully automatic chatbot.

Commands:

.donate
This command is used to start the donation process for a user. 
.setprice <price>
This command is used to set/change price of donation. 
.setrole <@role>
This command is used to  set/change role of donation. 
.setpayment <cashapp/venmo> <address>
This command is used to  set/change address of payment method.

How does it work?

Once the user sends payment including a unique identifying note, the bot then checks email to verify if the note and payment amount matches and then it grants a role to the user.

Setup

1. Fill out config.json

Follow guide to setup everything properly. (Important)

Click here for the full setup guide.

Example config.json

{
    "token": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "role": "donator",
    "Price": 10,
    "cashapp": "test",
    "venmo": "test",
    "note":"1a001-",
    "user":"test@gmail.com",
    "password":"vaadsgagcqlgzsox",
    "imap_url":"imap.gmail.com"
}

Start

  1. Install requirements
pip3 install -r requirements.txt 
  1. Start the bot
python3 Run.py

Docker Setup & Start

  1. First pull the image
docker pull piratify/discord_donation_bot:latest
  1. Make the container
docker run -e "token=" -e "user=" -e "pass=" -e "imap_url=" -d --restart unless-stopped --name ddb piratify/discord_donation_bot:latest

OR (make sure you have the config file loaded)

docker run -v /path to config:/app/config/ -d --restart unless-stopped --name ddb piratify/discord_donation_bot:latest

About

A chatbot to accept cashapp or venmo donations on discord for a role.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Dockerfile 0.3%