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))

1
go.mod
View File

@ -5,7 +5,6 @@ go 1.20
require (
atomicgo.dev/keyboard v0.2.9 // indirect
github.com/containerd/console v1.0.3 // indirect
github.com/diamondburned/arikawa v1.3.2 // indirect
github.com/diamondburned/arikawa/v3 v3.3.1 // indirect
github.com/diamondburned/ningen/v3 v3.0.0 // indirect
github.com/ergochat/readline v0.0.5 // indirect