From 5013a7bf162b945d73d880e8df1060c172ec488a Mon Sep 17 00:00:00 2001 From: Jana Gierloff Date: Wed, 25 Mar 2020 16:42:39 +0100 Subject: [PATCH] Copying schedule ID leads to error due to boldness --- command/schedule_list.go | 2 +- readme.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/command/schedule_list.go b/command/schedule_list.go index 06cc3d0..e4700a4 100644 --- a/command/schedule_list.go +++ b/command/schedule_list.go @@ -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) } diff --git a/readme.md b/readme.md index 7ec2467..695c094 100644 --- a/readme.md +++ b/readme.md @@ -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.