change comment format
MODIFY
internal/ui/window.go
internal/ui/window.go
@@ -49,9 +49,6 @@ type Window struct {
messageInput *Editor
requestedMessageInputHeight int
- commandMode bool
- commandView *CommandView
-
editingMessageID *string
userList *tview.TreeView
@@ -65,9 +62,10 @@ type Window struct {
shownMessages []*discordgo.Message
selectedGuild *discordgo.UserGuild
selectedChannelNode *tview.TreeNode
-
selectedChannel *discordgo.Channel
+ commandMode bool
+ commandView *CommandView
commands map[string]func(io.Writer, *Window, []string)
}

change comment format