mirror of
https://github.com/Rudi9719/kbtui.git
synced 2026-03-25 12:03:33 +00:00
Clean up colors, clean up config, make config actually be used, add default config
This commit is contained in:
@ -41,12 +41,12 @@ func cmdJoin(cmd []string) {
|
||||
channel.TopicName = ""
|
||||
channel.MembersType = keybase.USER
|
||||
}
|
||||
printInfoF("You are joining: $TEXT", messageLinkKeybaseColor.stylize(joinedName))
|
||||
printInfoF("You are joining: $TEXT", config.Colors.Message.LinkKeybase.stylize(joinedName))
|
||||
clearView("Chat")
|
||||
setViewTitle("Input", fmt.Sprintf(" %s ", joinedName))
|
||||
go populateChat()
|
||||
default:
|
||||
printInfo(fmt.Sprintf("To join a team use %sjoin <team> <channel>", cmdPrefix))
|
||||
printInfo(fmt.Sprintf("To join a PM use %sjoin <user>", cmdPrefix))
|
||||
printInfo(fmt.Sprintf("To join a team use %sjoin <team> <channel>", config.Basics.CmdPrefix))
|
||||
printInfo(fmt.Sprintf("To join a PM use %sjoin <user>", config.Basics.CmdPrefix))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user