isMessageComponentGuildInteraction
Callable
Parameters
interaction: APIMessageComponentInteraction
The interaction to check against
Returns interaction is APIMessageComponentGuildInteraction
A boolean that indicates if the message component interaction was received in a guild
A type-guard check for guild message component interactions
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.