Home > Blockchain >  Why it retrun me only the value of the json and not the key?
Why it retrun me only the value of the json and not the key?

Time:01-16

I want to check if the reaction (in discord) that was added is in the right channel and on the right message. I stored the channel id and message id in a .json file But python does not want to send the value of the key and i don't know how to solve this problem

{"931966019612864623": "931966020808228922"} <== this is my json file

931966020808228922 <== this is what python return

Here is my code

        elif payload.emoji.name == '           
  •  Tags:  
  • Related