discord-typings
Advanced tools
Comparing version 10.4.0 to 10.4.1
@@ -0,1 +1,3 @@ | ||
import { ChannelType } from "../Resources/Channel"; | ||
export type Component = ActionRow | Button | SelectMenu | TextInput; | ||
@@ -6,3 +8,3 @@ | ||
*/ | ||
export type ComponentType = 1 | 2 | 3 | 4; | ||
export type ComponentType = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8; | ||
@@ -53,3 +55,3 @@ export type ActionRow = { | ||
export type SelectMenu = { | ||
type: 3; | ||
type: 3 | 5 | 6 | 7 | 8; | ||
/** 1-100 chars */ | ||
@@ -59,2 +61,3 @@ custom_id: string; | ||
options?: Array<SelectOption>; | ||
channel_types?: Array<ChannelType>; | ||
/** 1-150 chars */ | ||
@@ -61,0 +64,0 @@ placeholder?: string; |
{ | ||
"name": "discord-typings", | ||
"version": "10.4.0", | ||
"version": "10.4.1", | ||
"description": "Typings for data returned by Discord (unofficial)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
70185
2037