EmbarkStudios / discord-sdk

An open implementation of the Discord Game SDK in Rust
Apache License 2.0
150 stars 10 forks source link

Timestamps in presence info of `relationship_update` are strings instead of ints #13

Closed Jake-Shadle closed 3 years ago

Jake-Shadle commented 3 years ago
"{"cmd":"DISPATCH","data":{"type":1,"user":{"id":"123414231424","username":"name","discriminator":"52","avatar":"f62f2a755cb18c94dc5cda94441024f1","bot":false,"flags":0,"premium_type":0},"presence":{"status":"dnd","activity":{"assets":{"large_image":"spotify:ab67616d0000b273d1e326d10706f3d8562d77f8","large_text":"To the Moon"},"created_at":"1628629162447","details":"To the Moon","flags":48,"id":"spotify:1","name":"Spotify","party":{"id":"spotify:216453179196440576"},"session_id":"6bb1ddaea510750e905615286709d632","state":"Rob Curly","sync_id":"2qZFCu2kYtAagNQA7NZfCq","timestamps":{"end":"1628629327961","start":"1628629161811"},"type":2}}},"evt":"RELATIONSHIP_UPDATE","nonce":null}"