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

    Class CommandManager

    Manager chịu trách nhiệm:

    • Load message commands từ filesystem
    • Quản lý command registry
    • Quản lý aliases
    • Phân loại command theo category
    • Xử lý messageCreate để thực thi command
    Index

    Constructors

    Methods

    Constructors

    Methods

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

      Parameters

      Returns Promise<void>

    • Reload toàn bộ commands.

      Quy trình:

      1. Xóa commands
      2. Xóa aliases
      3. Xóa categories
      4. Load lại từ filesystem

      Parameters

      Returns Promise<void>