refactor: clarify what orphan guild is
This commit is contained in:
parent
5a01e54627
commit
9d001a522e
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ func (s *State) onReady(r *gateway.ReadyEvent) {
|
|||
mainFlex.guildsTree.createFolderNode(folder)
|
||||
}
|
||||
|
||||
// Orphan channels are added here
|
||||
// add orphan (without folder) guilds to guilds tree
|
||||
for _, guild := range r.Guilds {
|
||||
if !slices.Contains(folderGuildIds, guild.ID) {
|
||||
mainFlex.guildsTree.createGuildNode(root, guild.Guild)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue