ChatopsRPC v0.2.0 ChatopsRPC.Builder View Source

Provides an api for building chatops into your service or application.

Link to this section Summary

Functions

Defines a command. Regexes must provide named capture groups. Otherwise captures will be ignored.

Defines your applications namespace. This name will be used as the prefix for your commands if no other prefix is given.

Link to this section Functions

Link to this macro

command(name, regex, f)

View Source (macro)

Defines a command. Regexes must provide named capture groups. Otherwise captures will be ignored.

Link to this macro

namespace(name)

View Source (macro)

Defines your applications namespace. This name will be used as the prefix for your commands if no other prefix is given.