update guild welcome screen
PATCH {{baseUrl}}/guilds/:guild_id/welcome-screen
Update the welcome screen properties and channels for a guild
Request Body
{"description"=>"<string,null>", "welcome_channels"=>[{"channel_id"=>"<string>", "description"=>"<string>", "emoji_id"=>"<string,null>", "emoji_name"=>"<string,null>"}, {"channel_id"=>"<string>", "description"=>"<string>", "emoji_id"=>"<string,null>", "emoji_name"=>"<string,null>"}], "enabled"=>"<boolean,null>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"welcome_channels":[{"channel_id":"\u003cstring\u003e","description":"\u003cstring\u003e","emoji_id":"\u003cstring,null\u003e","emoji_name":"\u003cstring,null\u003e"},{"channel_id":"\u003cstring\u003e","description":"\u003cstring\u003e","emoji_id":"\u003cstring,null\u003e","emoji_name":"\u003cstring,null\u003e"}],"description":"\u003cstring,null\u003e"}