Options
All
  • Public
  • Public/Protected
  • All
Menu

el-bot

Index

References

Renames and re-exports Bot

Type aliases

BotUserConfig: Partial<BotConfig>
ElUserConfig: Partial<ElConfig<BotUserConfig>>

Functions

  • createLogger(label?: string): Logger
  • 创建日志工具,基于 winston

    Parameters

    • label: string = 'el-bot'

    Returns Logger

  • loadConfigFromFile(configFile?: string, configRoot?: string): Promise<undefined | null | BotConfig>
  • 从文件加载配置

    Parameters

    • Optional configFile: string
    • configRoot: string = ...

    Returns Promise<undefined | null | BotConfig>

Generated using TypeDoc