don't print conversation id

This commit is contained in:
2020-04-22 18:10:26 +00:00
parent 0c1c3bf48e
commit 60383565e8

View File

@ -191,6 +191,10 @@ func (b *bot) handleConfigList(m chat1.MsgSummary) {
w := tabwriter.NewWriter(&buf, 0, 0, 3, ' ', 0)
fmt.Fprintln(w, "Config Options for this channel:\n```")
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.Fprintln(w, "```")