Problem with bot handling a points system

Thanks for the tip, using a transaction makes a lot of sense.

Because it has a CLI component, it is entirely possible for a user to force quit the program by hitting ctrl+c. I can imagine the transaction not occuring properly in this case. Any thoughts on handling that, or should I just insist that users exit safely?