Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrefixManager

Maps server IDs with command prefixes and allows to manage them

experimental

This feature should be fully functional but it doesn't store its data in any kind of local storage or cache. All informations get lost after restarting the application. It is possible to create a store for that data (exporting to a file or in some kind of database) and then load it every time the application starts.

Hierarchy

  • PrefixManager

Index

Constructors

constructor

Properties

Private Readonly _global

_global: string = "GLOBAL"

Global scope identifier

readonly

Private Readonly _prefixes

_prefixes: Map<string, string> = ...

Prefixes data

readonly

Readonly manager

Command manager associated with the object

readonly

Accessors

globalPrefix

  • get globalPrefix(): null | string

prefixes

  • get prefixes(): any

Methods

get

remove

set

Generated using TypeDoc