You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
hi, I have some confusion about the payload we construct when making a slash command http request.
payload ={"type":2,"application_id":"936929561302675456","guild_id":Globals.SERVER_ID,
"channel_id":Globals.CHANNEL_ID,"session_id":"2fb980f65e5c9a77c96ca01f2c242cf6",
"data":{"version":"1077969938624553050","id":"938956540159881230","name":"imagine","type":1,"options":[{"type":3,"name":"prompt","value":prompt}],
"application_command":{"id":"938956540159881230",
"application_id":"936929561302675456",
"version":"1077969938624553050",
"default_permission":True,
"default_member_permissions":None,
"type":1,"nsfw":False,"name":"imagine","description":"Create images with Midjourney",
"dm_permission":True,
"options":[{"type":3,"name":"prompt","description":"The prompt to imagine","required":True}]},
"attachments":[]}}
How to set the value of "session_id" and "version" "id" in "data" ? Are they fixed as in the code?
And is there any way that MidJourney can return those information( session_id, id)?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hi, I have some confusion about the payload we construct when making a slash command http request.
How to set the value of "session_id" and "version" "id" in "data" ? Are they fixed as in the code?
And is there any way that MidJourney can return those information( session_id, id)?
The text was updated successfully, but these errors were encountered: