Skip to content

Commit 4ef4e3b

Browse files
committed
Introduce isLegacy flag and messageId to QueueItem
1 parent 4824a76 commit 4ef4e3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ export interface BotEvent {
2525
export interface QueueItem {
2626
uuid: string // Unique queue uuid
2727
seed: number // RNG
28+
messageId?: string // Discord main message snowflake ID.
2829
interaction: ChatInputCommandInteraction
2930
discordCaller: string // Snowflake of caller for command
3031
prediction: {
32+
isLegacy?: true // Was this triggered by the legacy imagine command?
3133
prompt: string // Prompt text
3234
width: number // Image size, min 64
3335
height: number // Image size, min 64

0 commit comments

Comments
 (0)