string join does need spaces for human readability
This commit is contained in:
@ -24,7 +24,7 @@ func (b *bot) setupMeeting(convid chat1.ConvIDStr, sender string, words []string
|
||||
func (b *bot) sendFeedback(convid chat1.ConvIDStr, mesgID chat1.MessageID, sender string, words []string) {
|
||||
b.debug("feedback recieved in %s", convid)
|
||||
if b.config.FeedbackConvIDStr != "" {
|
||||
feedback := strings.Join(words[2:], "")
|
||||
feedback := strings.Join(words[2:], " ")
|
||||
fcID := chat1.ConvIDStr(b.config.FeedbackConvIDStr)
|
||||
if _, err := b.k.SendMessageByConvID(fcID, "Feedback from @%s:\n```%s```", sender, feedback); err != nil {
|
||||
b.k.ReplyByConvID(convid, mesgID, "I'm sorry, I was unable to send your feedback because my benevolent overlords have not set a destination for feedback. :sad:")
|
||||
|
||||
Reference in New Issue
Block a user