refactor(cmd): rename loop var

This commit is contained in:
ayn2op 2025-07-28 18:46:45 -04:00
parent 18eb50fa2c
commit a4c8787f1d

View file

@ -149,11 +149,11 @@ func (gt *guildsTree) createChannelNodes(node *tview.TreeNode, channels []discor
}
PARENT_CHANNELS:
for _, c := range channels {
if c.Type == discord.GuildCategory {
for _, channel := range channels {
if channel.Type == discord.GuildCategory {
for _, nested := range channels {
if nested.ParentID == c.ID {
gt.createChannelNode(node, c)
if nested.ParentID == channel.ID {
gt.createChannelNode(node, channel)
continue PARENT_CHANNELS
}
}