DreamExposure / DisCal-Discord-Bot

DisCal is a Discord Bot that links up to a Google Calendar to create, delete, edit, and announce events and more!
GNU General Public License v3.0
112 stars 44 forks source link

Premium Discord Status Reverting #66

Closed smnc closed 4 years ago

smnc commented 4 years ago

Who is the bug affecting?

Admin in specific server 455516225288536064

What is affected by this bug?

The Bot

When does this occur?

Appears to be random

Where on the platform does it happen?

Database (presumably)

How do we replicate the issue?

Not sure yet

Expected behavior (i.e. solution)

When bot is unlocked in a specific server, unlocked status should stick

Other Comments

Not a high priority, bot can still access linked calendar, although Server branding is gone.

NovaFox161 commented 4 years ago

Cannot replicate in my own environments. I thought it may have been due to the local cache being up-to-date, but never being written to database, but if that were the case it wouldn't persist across shard reboots which it has been.

Could be some database issue and not code. Unsure and cannot consistently replicate. Possibly related to #65

NovaFox161 commented 4 years ago

This should be fixed in commit dbd6771d557def6ef9e8cb4d51871ffd2b42fe5c and has been deployed as a snapshot/hot-fix version as this was too urgent to wait for the 4.1.0 milestone.

Issue was related to not saving new guild settings due to empty Mono flow making the null/present check redundant.