summary refs log tree commit diff
path: root/api/src/schema/Widget.ts
blob: d37a38de1641e391665542496871c517f22e2793 (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
}