How to use hubot-matteruser - 1 common examples

To help you get started, we’ve selected a few hubot-matteruser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github shipengqi / sactive-bot / lib / adapters / mattermost / mm_adapter.js View on Github external
constructor(robot) {
    super(robot);
    this.robot = robot;
    this.sbotAdapter = hubotMattermost.use(this.robot);
    if (this.sbotAdapter) {
      this.sbotAdapter.once('connected', () => {
        // client for api call
        this.client = this.sbotAdapter.client;
        this.client.logger = this.robot.logger;
        return this.emit('connected');
      });
    }
  }

hubot-matteruser

Mattermost Adapter

MIT
Latest version published 3 years ago

Package Health Score

49 / 100
Full package analysis

Popular hubot-matteruser functions