Skip to main content

ExtendedItemCustomChatPrefix

Callable


  • Return ExtendedItemDialog.chat if it's a string or call it using chat data based on a fictional extended item option. Generally used for getting a chat prefix for extended item buttons with custom functionality.


    Parameters

    • Name: string

      The name of the pseudo-type

    • Data: ExtendedItemData<any>

      The extended item data

    Returns string

    The dialogue prefix for the custom chatroom messages