summary refs log tree commit diff
path: root/src/schema/Widget.ts
blob: 6a15a1399e7c2a17a97316666639b061c654a324 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// https://discord.com/developers/docs/resources/guild#guild-widget-object
export const WidgetModifySchema = {
	$enabled: Boolean, // whether the widget is enabled
	$channel_id: String // the widget channel id
};

export interface WidgetModifySchema {
	enabled: boolean; // whether the widget is enabled
	channel_id: string; // the widget channel id
}