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.
This commit is contained in:
Jörg Sommer 2018-12-07 14:31:55 +01:00
parent 0d49bd8d08
commit ebfc5e214a

View file

@ -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)
}
}