The base mailbox manager, handling tickets.

Export

MailboxManager

Implements

Hierarchy (view full)

Implements

Constructors

Properties

client: Client<boolean>

The discord client

Memberof

MailboxManager

usersTickets: Collection<string, UserTickets>

Inherit

Methods

  • Gets a ticket by last message id. If safeReturn is false and no ticket is found, throws an error.

    Parameters

    • lastMessageId: string
    • Optional safeReturn: false

    Returns Ticket

    Memberof

    MailboxManager

  • Parameters

    • lastMessageId: string
    • safeReturn: true

    Returns undefined | Ticket