[HIRED] [PAID] Bad Touch Cog - $20

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

  1. @user is a valid user.
  2. X is a valid integer.
  3. 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.
  4. 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

  1. @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?

Hey, I’m ready for making this cog. Contact me on Discord, my name is Capitaine Predeactor#0495.

This cog was completed by me and was paid in full!