SQL command

I’m self hosting and trying to update my user credits, each time I do it the bot just responds with “Committed” and doesn’t give any credit. Any help is appreciated
No description
Solution:
sql code has to be in a code block
Jump to solution
4 Replies
Solution
circuitsacul
circuitsacul4w ago
sql code has to be in a code block
circuitsacul
circuitsacul4w ago
star sql rollback=false return=true
update users set credits=999999 where user_id=321733774414970882 returning *;
update users set credits=999999 where user_id=321733774414970882 returning *;
Starboard
Starboard4w ago
Committed. Query ?query? ran 1 times, with an average time of 515.438µs.
- {"patreon_status": "0", "is_bot": "f", "credits": "999999", "donated_cents": "0", "user_id": "321733774414970882"}
- {"patreon_status": "0", "is_bot": "f", "credits": "999999", "donated_cents": "0", "user_id": "321733774414970882"}
mark34
mark34OP4w ago
Ahh of course got it. Thanks 🙏

Did you find this page helpful?