From cfff890a63111001cbfb817235e8814350e70f4f Mon Sep 17 00:00:00 2001 From: rigormorrtiss Date: Tue, 31 Aug 2021 15:58:29 +0400 Subject: [PATCH] style: shorten long lines (>80) --- discordo.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/discordo.go b/discordo.go index a6cb43e..79d402b 100644 --- a/discordo.go +++ b/discordo.go @@ -188,7 +188,9 @@ func onMessagesTextViewInputCapture(e *tcell.EventKey) *tcell.EventKey { } } - messageInputField.SetTitle("Replying to " + selectedMessage.Author.Username) + messageInputField.SetTitle( + "Replying to " + selectedMessage.Author.Username, + ) app.SetFocus(messageInputField) } @@ -208,7 +210,11 @@ func onMessageInputFieldInputCapture(e *tcell.EventKey) *tcell.EventKey { } if selectedMessage != nil { - go session.ChannelMessageSendReply(selectedMessage.ChannelID, t, selectedMessage.Reference()) + go session.ChannelMessageSendReply( + selectedMessage.ChannelID, + t, + selectedMessage.Reference(), + ) } else { go session.ChannelMessageSend(selectedChannel.ID, t) }