cocoa-discord - v3.2.0
    Preparing search index...

    Function CocoaOption

    • Usage:

      CocoaBuilder().addStringOption(CocoaOption("url", "URL of Song"));
      

      The goal of this function is to shorten the redundant code.

      description and required are optional, required is default to false

      Parameters

      • name: string
      • Optionaldescription: string
      • required: boolean = false

      Returns (option: any) => any