This is how to set the status on the Discord side - as an example:

HTTP-PATCH https://canary.discordapp.com/api/v6/users/@me/settings

headers = { 
"User-Agent": "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.12) Gecko/20050915 Firefox/1.0.7", 
"Content-Type": "application/json", 
"Authorization": "*<OAuth User session token here>*", 
"accept": "application/json,text/*;q=0.99" }

body = {
"custom_status": {"text": "Relax & Two Tribes (Frankie Goes to
Hollywood)", 
"expires_at": "2022-02-14T20:03:58.414Z", 
"emoji_name": "&#127925;"}}


The OAuth token can be retrieved from Browser developer mode, in local
storage, for debugging purposes, until a full Discord-API userAuthZ flow
is implemented.


------------------------------------------------------------------------
david-simons's Profile: http://forums.slimdevices.com/member.php?userid=70233
View this thread: http://forums.slimdevices.com/showthread.php?t=115920

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to