blackcat.js-discord - v1.0.10
    Preparing search index...

    Class EventManager

    Manager chịu trách nhiệm:

    • Load event files từ filesystem
    • Gắn events vào Discord Client
    • Phân chia events theo scope
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Options cấu hình cho EventManager.

    Methods

    • Load toàn bộ events từ thư mục đã cấu hình.

      Quy trình:

      1. Đọc tất cả thư mục scope
      2. Xác định scope cần load
      3. Load từng file event
      4. Gắn listener vào client

      Parameters

      Returns Promise<void>

      Promise hoàn thành khi load xong