From dde8032437b06afa60b4ad0e2214a7c9885058ae Mon Sep 17 00:00:00 2001 From: rigormorrtiss Date: Tue, 3 Aug 2021 19:48:23 +0400 Subject: [PATCH] Remove 123 :P --- discordo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discordo.go b/discordo.go index 6972584..fd18b30 100644 --- a/discordo.go +++ b/discordo.go @@ -170,7 +170,7 @@ func onGuildsDropDownSelected(_ string, i int) { app.SetFocus(channelsTreeView) currentGuild = discordState.Ready().Guilds[i].Guild - channels, _ := discordState.Cabinet.Channels(currentGuild.ID + 123) + channels, _ := discordState.Cabinet.Channels(currentGuild.ID) sort.SliceStable(channels, func(i, j int) bool { return channels[i].Position < channels[j].Position })