epic copy paste moment

This commit is contained in:
Cynthia Foxwell 2023-07-29 18:00:20 -06:00
parent 2c727e2600
commit 81ac111e71
2 changed files with 1 additions and 2 deletions

View file

@ -164,7 +164,7 @@ func GetSortedChannels(guildId string, withCategories bool, withPrivate bool) []
}
sort.Slice(keys, func(i, j int) bool {
pa, _ := discord.ParseSnowflake(keys[i])
pb, _ := discord.ParseSnowflake(keys[i])
pb, _ := discord.ParseSnowflake(keys[j])
ca, _ := client.ChannelStore.Channel(discord.ChannelID(pa))
cb, _ := client.ChannelStore.Channel(discord.ChannelID(pb))