Explorar el Código

Prefix top-level text-based channels with # (#9)

rigormorrtiss hace 4 años
padre
commit
c0c7527a1f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      discordo.go

+ 1 - 0
discordo.go

@@ -184,6 +184,7 @@ func onGuildsDropDownSelected(text string, _ int) {
 			channelsTreeNode.AddChild(channelNode)
 		default:
 			if channel.ParentID == "" {
+				channelNode.SetText("[::d]#" + channel.Name + "[-:-:-]")
 				channelsTreeNode.AddChild(channelNode)
 			}
 		}