summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorMathMan05 <mathmanrm@gmail.com>2026-02-13 12:30:56 -0600
committerRory& <root@rory.gay>2026-03-20 16:31:32 +0100
commita4ff9e9d41f05e7af3d7eb2debc186f6e1ad959e (patch)
tree6111a3301588b3d0918bad3f0dfa10a9504831c9 /src/util
parentmove the check to the right spot (diff)
downloadserver-ts-a4ff9e9d41f05e7af3d7eb2debc186f6e1ad959e.tar.xz
switch messages to base message type
Diffstat (limited to 'src/util')
-rw-r--r--src/util/entities/Message.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts

index a4448a14..05e7dea5 100644 --- a/src/util/entities/Message.ts +++ b/src/util/entities/Message.ts
@@ -29,7 +29,7 @@ import { Webhook } from "./Webhook"; import { Sticker } from "./Sticker"; import { Attachment } from "./Attachment"; import { NewUrlUserSignatureData } from "../Signing"; -import { ActionRowComponent, ApplicationCommandType, Embed, MessageSnapshot, MessageType, PartialMessage, Poll, Reaction } from "@spacebar/schemas"; +import { ApplicationCommandType, BaseMessageComponents, Embed, MessageSnapshot, MessageType, PartialMessage, Poll, Reaction } from "@spacebar/schemas"; import { MessageFlags } from "@spacebar/util"; import { JsonRemoveEmpty } from "../util/Decorators"; @@ -209,7 +209,7 @@ export class Message extends BaseClass { @Column({ type: "simple-json", nullable: true }) @JsonRemoveEmpty - components?: ActionRowComponent[]; + components?: BaseMessageComponents[]; @Column({ type: "simple-json", nullable: true }) @JsonRemoveEmpty