Answer the question
In order to leave comments, you need to log in
How to get firebase value?
Help me get the value of "Money" (to display 100). I looked through everything that is possible, but it did not work out to display this particular number.
The code I used:
user = ctx.author.id
y = db.reference(f"/{user}/Balance")
y.update({
"Money": 100
})
h = y.get("Money.val")
print(h)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question