Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MessageBotExtension

Hierarchy

  • MessageBotExtension

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

bot

the bot that this extension is loaded from

exports

exports: object

Any exports that other extensions may call.

Type declaration

  • [key: string]: any

storage

storage: Storage

The prefixed storage reserved for this extension.

world

world: World

A shortcut for this.bot.world

Methods

remove

  • remove(): void
  • Removes the extension, listeners and ui should be removed here. Stored settings should not be removed.

    Returns void

uninstall

  • uninstall(): void
  • Removes the extension. All listeners should be removed here.

    Returns void

Generated using TypeDoc