don't print conversation id
This commit is contained in:
@ -191,6 +191,10 @@ func (b *bot) handleConfigList(m chat1.MsgSummary) {
|
|||||||
w := tabwriter.NewWriter(&buf, 0, 0, 3, ' ', 0)
|
w := tabwriter.NewWriter(&buf, 0, 0, 3, ' ', 0)
|
||||||
fmt.Fprintln(w, "Config Options for this channel:\n```")
|
fmt.Fprintln(w, "Config Options for this channel:\n```")
|
||||||
for _, opt := range configOpts {
|
for _, opt := range configOpts {
|
||||||
|
if opt.Name == "ConvID" {
|
||||||
|
// dont print out the conversation id, thats not an option.
|
||||||
|
continue
|
||||||
|
}
|
||||||
fmt.Fprintf(w, "%s\t%v\t\n", opt.Name, opt.Value)
|
fmt.Fprintf(w, "%s\t%v\t\n", opt.Name, opt.Value)
|
||||||
}
|
}
|
||||||
fmt.Fprintln(w, "```")
|
fmt.Fprintln(w, "```")
|
||||||
|
|||||||
Reference in New Issue
Block a user