38 lines
641 B
TypeScript
38 lines
641 B
TypeScript
|
import {
|
||
|
DiscordenoMessage
|
||
|
} from "../deps.ts";
|
||
|
|
||
|
export type BuildingLFG = {
|
||
|
userId: bigint,
|
||
|
channelId: bigint,
|
||
|
step: string,
|
||
|
lfgMsg: DiscordenoMessage,
|
||
|
questionMsg: DiscordenoMessage,
|
||
|
lastTouch: Date,
|
||
|
maxIdle: number,
|
||
|
editing: boolean
|
||
|
}
|
||
|
|
||
|
export type ActiveLFG = {
|
||
|
messageId: bigint,
|
||
|
channelId: bigint,
|
||
|
ownerId: bigint,
|
||
|
lfgUid: string,
|
||
|
lfgTime: number,
|
||
|
notified: boolean,
|
||
|
locked: boolean
|
||
|
}
|
||
|
|
||
|
export type GuildPrefixes = {
|
||
|
guildId: bigint,
|
||
|
prefix: string
|
||
|
}
|
||
|
|
||
|
// TEMP
|
||
|
export interface ButtonData {
|
||
|
/** with the value you defined for this component */
|
||
|
customId: string;
|
||
|
/** The type of this component */
|
||
|
componentType: 2;
|
||
|
}
|