-
Notifications
You must be signed in to change notification settings - Fork 2
Cash Sub Bot
This sub-bot adds utilities for running fundraisers in the server, using venmo. To enable this suite, call EnableCash
on a CoreBot
or pass EnableCash
to CoreBot.EnableAll
-
!_project <One word fundraiser name> | <Fundraiser description ...> | <Fundraiser end date (MM/DD/YYYY)> | <Dollar amount target> | <Venmo username> : Registers a new active fundraising project
Starts a fundraising project. This posts a message to general indicating what the project is for, how to contribute, when the project ends, and the target goal. Every month until the project ends, users will be reminded of the ongoing fundraiser, given instructions on how to contribute, and prompted to donate.
-
!_payment <One word fundraiser name> | <Donor's user reference> | <Dollar amount> : Reports a new donation
Adds the donation to the running total for the fundraiser. Posts a message that the user has contributed. If the donor wishes to remain anonymous, set the user reference to
0
. The message includes the donor's mention (if not anonymous), the amount, the current total for the project, the remaining time, and instructions on how to donate. -
!_project:end <One word fundraiser name> : Prematurely ends a fundraiser
This posts a message about how much of the target was raised and lists all the donors and their amounts (sorted by donation amount).
- Once a week, the bot checks for fundraisers which have not had a reminder posted in over a month, then posts a message for those fundraisers