From 445c277bd30cdd2e84b1933da4c3f9ea1761fe76 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Mon, 13 Feb 2017 17:22:14 +0000 Subject: [PATCH] Add default command route handler --- src/github.com/matrix-org/go-neb/services/google/google.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/github.com/matrix-org/go-neb/services/google/google.go b/src/github.com/matrix-org/go-neb/services/google/google.go index 630722c..728bfe1 100644 --- a/src/github.com/matrix-org/go-neb/services/google/google.go +++ b/src/github.com/matrix-org/go-neb/services/google/google.go @@ -82,6 +82,12 @@ func (s *Service) Commands(client *gomatrix.Client) []types.Command { return usageMessage(), nil }, }, + types.Command{ + Path: []string{"google"}, + Command: func(roomID, userID string, args []string) (interface{}, error) { + return usageMessage(), nil + }, + }, } }