NOTE: This file is generated automatically.
Scroll down to PluginAPI for a list of properties available to plugins.
- PluginAPI :
object - PluginCommandsAPI :
object - PluginAttachmentsAPI :
object - PluginLogsAPI :
object - PluginHooksAPI :
object - PluginDisplayRolesAPI :
displayRoles - PluginThreadsAPI :
threads - PluginWebServerAPI :
express.Application - PluginFormattersAPI :
FormattersExport
Kind: global typedef
Properties
| Name | Type |
|---|---|
| bot | Client |
| knex | Knex |
| config | ModmailConfig |
| commands | PluginCommandsAPI |
| attachments | PluginAttachmentsAPI |
| logs | PluginLogsAPI |
| hooks | PluginHooksAPI |
| formats | PluginFormattersAPI |
| webserver | PluginWebServerAPI |
| threads | PluginThreadsAPI |
| displayRoles | PluginDisplayRolesAPI |
Kind: global typedef
Properties
| Name | Type |
|---|---|
| manager | CommandManager |
| addGlobalCommand | AddGlobalCommandFn |
| addInboxServerCommand | AddInboxServerCommandFn |
| addInboxThreadCommand | AddInboxThreadCommandFn |
| addAlias | AddAliasFn |
Kind: global typedef
Properties
| Name | Type |
|---|---|
| addStorageType | AddAttachmentStorageTypeFn |
| downloadAttachment | DownloadAttachmentFn |
| saveAttachment | SaveAttachmentFn |
Kind: global typedef
Properties
| Name | Type |
|---|---|
| addStorageType | AddLogStorageTypeFn |
| saveLogToStorage | SaveLogToStorageFn |
| getLogUrl | GetLogUrlFn |
| getLogFile | GetLogFileFn |
| getLogCustomResponse | GetLogCustomResponseFn |
Kind: global typedef
Properties
| Name | Type |
|---|---|
| beforeNewThread | AddBeforeNewThreadHookFn |
| afterThreadClose | AddAfterThreadCloseHookFn |
Kind: global typedef
See: https://github.com/Dragory/modmailbot/blob/master/src/data/displayRoles.js
Kind: global typedef
See: https://github.com/Dragory/modmailbot/blob/master/src/data/threads.js
Kind: global typedef
See: https://expressjs.com/en/api.html#app
Kind: global typedef
See: https://github.com/Dragory/modmailbot/blob/master/src/formatters.js