I have read and understand the Cogboard Bounty rules
Bounty Request Format:
Discord Username: mikey#0777
Payment Information : Paypal or Amazon (US) Gift Card
Description of Cog
Looking for a V3 cog that functions as follows
Users with the role “Judge” are able to use the command
[p]badtouch @user X
where
- @user is a valid user.
- X is a valid integer.
- Adds the value X to an existing record of the user or creates a new record if this is the user’s first bad touch.
- Bot retains global values of the amount of bad touches a user has. (preferably sqlite but open to whatever lightweight database is available)
X can be a positive or negative, where
if X is positive
Bot responds
“@Judge has given @user X bad touches! Bad!”
If @user has an existing record, it follows up with
“@user now has a total of N bad touches.”
If X is negative
Bot responds
“@Judge has given @user Y good touches, negating some bad touches!”
Y is the absolute value of X
If @user has an existing record, it follows up with
“@user now has a total of N bad touches.”
N can go into the negatives.
Any user is able to run
[p]badtouch check @user
where
- @user is a valid user
The bot returns with
“@User has N bad touches.”
Cross-referencing the existing record of the user.
API’s or other information
Probably just a simple database?