seyfert/src/components/ChannelSelectMenuComponent.ts
Marcos Susaña 89c525d052
feat: Make message components great (#163)
* fix: mentionables defaults

* feat: make message api components great

* fix: add url to button link
2024-03-27 17:53:28 -04:00

13 lines
345 B
TypeScript

import type { ComponentType } from '../common';
import { BaseSelectMenuComponent } from './BaseSelectMenuComponent';
export class ChannelSelectMenuComponent extends BaseSelectMenuComponent<ComponentType.ChannelSelect> {
get channelsTypes() {
return this.data.channel_types;
}
get defaultValues() {
return this.data.default_values;
}
}