Explorar o código

Mention `help` in the first message in management room

To better guide the user after the first contact, tell him to use `help`
to see the list of commands.
Jörg Sommer %!s(int64=6) %!d(string=hai) anos
pai
achega
ebfc5e214a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      matrix.go

+ 1 - 1
matrix.go

@@ -98,7 +98,7 @@ func (mx *MatrixHandler) HandleBotInvite(evt *gomatrix.Event) {
 	if !hasPuppets {
 		user := mx.bridge.GetUserByMXID(types.MatrixUserID(evt.Sender))
 		user.SetManagementRoom(types.MatrixRoomID(resp.RoomID))
-		intent.SendNotice(string(user.ManagementRoom), "This room has been registered as your bridge management/status room.")
+		intent.SendNotice(string(user.ManagementRoom), "This room has been registered as your bridge management/status room. Send `help` to get a list of commands.")
 		mx.log.Debugln(resp.RoomID, "registered as a management room with", evt.Sender)
 	}
 }