Welcome screen data should include "enabled" property #3317
Replies: 4 comments
-
Isn't that what the guild's |
Beta Was this translation helpful? Give feedback.
-
Oh, smart - that's very much not where I looked |
Beta Was this translation helpful? Give feedback.
-
I still think this is a good idea. In order to disable it you PATCH using |
Beta Was this translation helpful? Give feedback.
-
right, for a more stateless approach that would still make some sense, suppose on the library we can implement it as getter via the guild we attach and gets updated with the GMU payload, though that might invite races |
Beta Was this translation helpful? Give feedback.
-
Description
Neither the patch
PATCH /guilds/:id/welcome-screen
nor the getGET /guilds/:id/welcome-screen
request return the propertyenabled
which signifies if a welcome screen is currently enabled on the guild.Why This is Needed
The welcome screen data is simply not returned in invite payloads if the welcome screen is disabled. However, the get request still returns the currently entered data, despite the welcome screen being disabled at the time. The patch request returning this property to confirm a successful change seems to be a worthwhile extension to this.
Alternatives Considered
n/a
Additional Details
n/a
Beta Was this translation helpful? Give feedback.
All reactions