Class Module

Base class for Artibot modules


  • Module



additionalIntents: GatewayIntentBits[] = []

List of required intents

id: string

ID of this module

langs: string[] | "any" = "any"

List of supported languages (ex.: ["en", "fr"]). If this does not apply, set to "any".

name: string

Name of the module

packageName?: string

Package name of the module on NPM (ex.: "artibot")

List of parts of the module

repo?: string

GitHub repository of the module (ex.: "Artivain/artibot")

version: string = "0.0.0"

Version of the module (ex.: "1.2.3"). You should use the same as in your package.json if you want to publish it.

Generated using TypeDoc v0.23.28