maybe change in DRMv2, current client_data does not work anymore
client_data as is in the repo does not start any game and does not net any error. changing the payload to
client_data = b'\x01\x00\x00\x00\x13\x01\x00\x00{"cmd":"DISPATCH",\
"data":{"v":1,"config":{"cdn_host":"cdn.discordapp.com",\
"api_endpoint":"//discordapp.com/api","environment":"production"},\
"user":{"id":"' + user_id + b'","username":"' + user_name + b'","discriminator":"0001",\
"avatar":null,"bot":false,"flags":272,"premium_type":2}},\
"evt":"READY","nonce":null}'
will result in the following error

valid data observed via ipc (sent by the discord client)


seems to indicate that the above change in payload is necessary
Edited by vardrop