interface IMailboxManager {
    usersTickets: Collection<string, UserTickets>;
    checkTickets(): void;
    closeTicket(ticketId): void;
    createTicket(content, guildId, maxOnGoingTicketsPerUser?): Ticket;
    replyToTicket(content, ticketId): void;
}

Implemented by

Properties

usersTickets: Collection<string, UserTickets>

The opened tickets per users collection.

Memberof

MailboxManager

Methods

  • Closes the provided ticket.

    Parameters

    • ticketId: string

    Returns void

    Memberof

    IMailboxManager

  • Creates a ticket based on the provided content.

    Parameters

    • content: TicketContent
    • guildId: string
    • Optional maxOnGoingTicketsPerUser: number

    Returns Ticket

    Memberof

    IMailboxManager

  • Replies to a ticket with a provided content.

    Parameters

    Returns void

    Memberof

    IMailboxManager