Function isServerInteraction
- isServerInteraction(interaction: ChatInputCommandInteraction<CacheType> | ButtonInteraction<CacheType> | ModalSubmitInteraction<CacheType>): AttendingServerV2
-
Parameters
-
interaction: ChatInputCommandInteraction<CacheType> | ButtonInteraction<CacheType> | ModalSubmitInteraction<CacheType>
Checks if the command came from a server with correctly initialized YABOB
Returns
the AttendingServerV2 object