mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 04:56:07 +00:00
fix: inconsistens impots (#108)
This commit is contained in:
parent
0daec51769
commit
c916e9cb94
@ -1,6 +1,6 @@
|
||||
import type { DiscordActionRow } from '@biscuitland/api-types';
|
||||
import { MessageComponentTypes } from '@biscuitland/api-types';
|
||||
import type { ComponentBuilder } from '../../../../core/src/utils/util';
|
||||
import type { ComponentBuilder } from '@biscuitland/core';
|
||||
|
||||
export class ActionRowBuilder<T extends ComponentBuilder> {
|
||||
constructor() {
|
||||
@ -28,7 +28,6 @@ export class ActionRowBuilder<T extends ComponentBuilder> {
|
||||
toJSON(): DiscordActionRow {
|
||||
return {
|
||||
type: this.type,
|
||||
// @ts-ignore: socram fix this
|
||||
components: this.components.map(c => c.toJSON()) as DiscordActionRow['components'],
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import type { ButtonStyles, DiscordButtonComponent } from '@biscuitland/api-types';
|
||||
import { MessageComponentTypes } from '@biscuitland/api-types';
|
||||
import type { ComponentEmoji } from '../../../../core/src/utils/util';
|
||||
import type { ComponentEmoji } from '@biscuitland/core';
|
||||
|
||||
export class ButtonBuilder {
|
||||
constructor() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import type { DiscordSelectOption, DiscordSelectMenuComponent, } from '@biscuitland/api-types';
|
||||
import type { ComponentEmoji } from '../../../../core/src/utils/util';
|
||||
import type { ComponentEmoji } from '@biscuitland/core';
|
||||
import { MessageComponentTypes } from '@biscuitland/api-types';
|
||||
|
||||
export class SelectMenuOptionBuilder {
|
||||
|
Loading…
x
Reference in New Issue
Block a user