When adding a new badge and then entering the same command but with ,for example, a changed price, the changes are not updated in the DB, even though the message is sent that says it got updated.
I assume this error comes from the missing string conversion of the server ID in line 1829
|
{"server_id": serverid}, {"$set": {"badges": badges["badges"]}} |
When adding a new badge and then entering the same command but with ,for example, a changed price, the changes are not updated in the DB, even though the message is sent that says it got updated.
I assume this error comes from the missing string conversion of the server ID in line 1829
Fixator10-Cogs/leveler/leveler.py
Line 1829 in 1559441