NekiroKankou / clorynin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clorynin

Data Parser

CommandOptionType

Parse Option Type String To Option Type Number

function CommandOptionType(OptionType)

OptionType (String) :

  • SUB_COMMAND
  • SUB_COMMMAND_GROUP
  • STRING
  • INTEGER
  • BOOLEAN
  • USER
  • CHANNEL
  • ROLE
  • MENTIONABLE
  • NUMBER
  • ATTACHMENT

CommandType

Parse Command Permission Type String To Command Type Number

function CommandType(ApplicationCommandType)

ApplicationCommandType (String) :

  • CHAT_INPUT
  • USER
  • MESSAGE

CommandPermissionType

Parse Command Type String To Command Permission Type Number

function CommandPermissionType(CommandPermissionType)

CommandPermissionType (String) :

  • ROLE
  • USER

ButtonStyle

Parse Button Style String To Button Style Number

function ButtonStyle(ButtonStyle)

ButtonStyle (String) :

  • PRIMARY
  • SECONDARY
  • SUCCESS
  • WARNING
  • LINK

TextInputStyle

Parse Text Input Style String To Text Input Style Number

function TextInputStyle(InputStyle)

InputStyle (String) :

  • SHORT
  • PARAGRAPH

About


Languages

Language:JavaScript 100.0%