oopscord.js
    Preparing search index...

    Function DiscordModule

    • Decorator that marks a class as a Discord module.

      Parameters

      Returns <TFunction extends Function>(constructor: TFunction) => void

      A decorator function that applies module metadata to the target class

      If any of the imported modules are not valid Discord modules