summary refs log tree commit diff
path: root/src/schemas/api/bots/SendableApplicationCommandDataSchema.ts
blob: 7dfbbd00d15fa10c3c4cac812fba5e4abcd54ab1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { Snowflake } from "@spacebar/util";
import { ApplicationCommandOption } from "../developers";
import { ApplicationCommandType } from "./ApplicationCommandSchema";

export interface SendableApplicationCommandDataSchema {
	id: Snowflake;
	type?: ApplicationCommandType;
	name: string;
	version: Snowflake;
	application_command?: object;
	options?: ApplicationCommandOption[];
	target_id?: Snowflake;
	attachments?: object[]; // idk the type
}