SwiftQS / SDG_Discord_Bot_Original

Multipurpose bot for a private Discord server.
3 stars 1 forks source link

Karma initialization doesn't account for pre-existing users #61

Closed SwiftQS closed 8 years ago

SwiftQS commented 8 years ago

Initialization only checks to see if a user is in the database yet. If the are, it doesn't do anything. Need to also check to see if upvotes or downvotes are null, and if so initialize to zero.

DaKing commented 8 years ago

In a situation like this I would recommend a manual fix to the current database entries instead of adding something the codebase

SwiftQS commented 8 years ago

Sounds good. Considering this won't ever be a problem going forward I think we can wrap this one up.