Ryan Munro

Results 23 comments of Ryan Munro

> builders isn't necessarily meant for do-it-once-and-never-touch-it-again payloads > As for setComponents or anything similar... Is there an actual use case for this method? When would you add components only...

> It shouldn't be up to builders to aid in editing a components, that's up to you when using them If that's a design decision to be made for component...

You can read more about it from the announcement in the [Discord API Server](https://discordapp.com/channels/81384788765712384/381871767846780928/695380999063863406)

> Also SelectMenuBuilder don't have value submited when used in modal Always undefined We can't set label on it when used in modal SelectMenus are not supported in Modals. Discord...

`permissionsLocked` here isn't a clear value though - the API doesn't provide a boolean telling us that a channel is synced or not. It's a getter that compares the channel's...

I don't believe this PR should address both changes, no. I will update the typing though.

There's nothing wrong with this, nor should it be avoided in JavaScript code. We are also going to support TypeScript though

> I have a feeling this shouldn't work just by looking at the code, but my tests do pass and I don't think there was anything more complicated than the...

Given Discord now documents [improved interaction metadata](https://discord.com/developers/docs/resources/channel#message-interaction-metadata-object) this PR is no longer the right approach.

Roles does this because there isn't actually an API endpoint for fetching individual roles. It fetches all of the roles, tries to resolve the id, and can return null. We...