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