epic copy paste moment
This commit is contained in:
parent
2c727e2600
commit
81ac111e71
|
@ -164,7 +164,7 @@ func GetSortedChannels(guildId string, withCategories bool, withPrivate bool) []
|
||||||
}
|
}
|
||||||
sort.Slice(keys, func(i, j int) bool {
|
sort.Slice(keys, func(i, j int) bool {
|
||||||
pa, _ := discord.ParseSnowflake(keys[i])
|
pa, _ := discord.ParseSnowflake(keys[i])
|
||||||
pb, _ := discord.ParseSnowflake(keys[i])
|
pb, _ := discord.ParseSnowflake(keys[j])
|
||||||
|
|
||||||
ca, _ := client.ChannelStore.Channel(discord.ChannelID(pa))
|
ca, _ := client.ChannelStore.Channel(discord.ChannelID(pa))
|
||||||
cb, _ := client.ChannelStore.Channel(discord.ChannelID(pb))
|
cb, _ := client.ChannelStore.Channel(discord.ChannelID(pb))
|
||||||
|
|
1
go.mod
1
go.mod
|
@ -5,7 +5,6 @@ go 1.20
|
||||||
require (
|
require (
|
||||||
atomicgo.dev/keyboard v0.2.9 // indirect
|
atomicgo.dev/keyboard v0.2.9 // indirect
|
||||||
github.com/containerd/console v1.0.3 // 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/arikawa/v3 v3.3.1 // indirect
|
||||||
github.com/diamondburned/ningen/v3 v3.0.0 // indirect
|
github.com/diamondburned/ningen/v3 v3.0.0 // indirect
|
||||||
github.com/ergochat/readline v0.0.5 // indirect
|
github.com/ergochat/readline v0.0.5 // indirect
|
||||||
|
|
Loading…
Reference in New Issue