Skip to content

A simple mattermost bot sample used by developers Hackwave chat servers

Notifications You must be signed in to change notification settings

hackwave/hackwave-mattermost-bot

Repository files navigation

Hackwave Bot

A simple currently Mattermost bot with plans to eventually open it up to support any Chat software that is implemented as a library used by a CLI tool.

In the command line tools developers can for now register their own regex event driven functionality.

		app.Bot = app.Bot.RegisterHook(bot.RegexFunction{
			Name:  "HelloResponder",
			Regex: `(?:^|\W)hello(?:$|\W)`,
			Function: func(post *model.Post) {
				app.Bot.SendMessageToChannel("hello dawg, you send the following post :"+post.Message, "")
			},
		})

About

A simple mattermost bot sample used by developers Hackwave chat servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages