Skip to content

Commit

Permalink
Merge pull request #8 from tigerteufel85/boggy-7/schedule-delete-id-e…
Browse files Browse the repository at this point in the history
…rror

Copying schedule ID leads to error due to boldness
  • Loading branch information
tigerteufel85 committed Mar 25, 2020
2 parents da214ed + 5013a7b commit 3e2d7a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion command/schedule_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (c *scheduleList) Execute(ctx context.Context, b *bot.Bot, eventText string
for _, value := range tasks {
if user.Right == bot.UserRightAdmin && option == "all" && client.Channels[value.Schedule.Channel] != "" {
value.Schedule.Channel = "#" + client.Channels[value.Schedule.Channel]
message += fmt.Sprintf("*%s* - `%s` (%s)\n```%s````\n", value.Name, value.Schedule.CronTime, value.Schedule.Channel, value.Schedule.Command)
message += fmt.Sprintf("%s - `%s` (%s)\n```%s```\n", value.Name, value.Schedule.CronTime, value.Schedule.Channel, value.Schedule.Command)
} else {
message += fmt.Sprintf("%s - `%s`\n```%s```\n", value.Name, value.Schedule.CronTime, value.Schedule.Command)
}
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/tigerteufel85/boggy)](https://goreportcard.com/report/github.com/tigerteufel85/boggy)
[![Release](https://img.shields.io/github/release/tigerteufel85/boggy.svg)](https://github.com/tigerteufel85/boggy/releases)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Docker Pulls](https://img.shields.io/docker/pulls/tigerteufel/boggy.svg)](https://hub.docker.com/repository/docker/tigerteufel/boggy)

Boggy is a slack bot primarily meant to improve the workflow of QA in development teams, with focus on JIRA integration.

Expand Down

0 comments on commit 3e2d7a8

Please sign in to comment.