Verified Commit ee45873e authored by Sumner Evans's avatar Sumner Evans 💬
Browse files

changelog: update for v0.2.0

parent fe402faa
# v0.2.0
* Enabled editing of the standup post via edits and redactions to the individual
messages.
* Added `!su edit` command which takes the user back to the corresponding
section of the standup post so they can add items to the post.
* Added version and source code link to `!su help`.
* Added some documentation to the README.
* Refuse to send a standup message to a room which the user is not a member of.
This prevents potential spam if someone gets a hold of a room ID.
# v0.1.5
* Bug fix: start with blank standup post on notify
......
......@@ -21,6 +21,9 @@ state events in the room.
* `!su help` for help
* `!su new` starts a new standup post. If you configure the bot to notify you
each morning, then you won't normally need to do this.
* To edit your post, you can just edit or redact the individual messages.
* You can also use `!su edit [Friday|Weekend|Yesterday|Today|Blockers|Notes]` to
go back and add items to the corresponding section of the standup post.
You will need to also set a standup post send room. This is the room which the
bot will send standup posts to. You can configure it using
......
......@@ -54,9 +54,9 @@ func GoToStateAndNotify(roomID mid.RoomID, userID mid.UserID, state StandupFlowS
resp, err := sendMessageWithCheckmarkReaction(roomID, mevent.MessageEventContent{
MsgType: mevent.MsgText,
Body: fmt.Sprintf("%s Enter one item per-line. React with ✅ when done.", question),
Body: fmt.Sprintf("%s Enter one item message. React with ✅ when done.", question),
Format: mevent.FormatHTML,
FormattedBody: fmt.Sprintf("%s <i>Enter one item per-line. React with ✅ when done.</i>", question),
FormattedBody: fmt.Sprintf("%s <i>Enter one item message. React with ✅ when done.</i>", question),
})
if err != nil {
log.Errorf("Failed to send notice asking '%s'!", question)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment