class BaseDirective { constructor (options = {}) { this.options = options this.text = this.options.text this.directives = options.directives this.params = options.params || {} this.data = null this.matchResult = null } match () { } async excute ({ sendMsg = function () {} }) { } closeResponse () { } } export default BaseDirective