Test pointer panic
This commit is contained in:
parent
48f8ee997f
commit
ca3fe5bd69
1
utils.go
1
utils.go
@ -54,6 +54,7 @@ func CheckPermissions(session *discordgo.Session, member discordgo.Member, chann
|
|||||||
if !found {
|
if !found {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
fmt.Println(role.Name)
|
||||||
|
|
||||||
//for _, overwrite := range channel.PermissionOverwrites {
|
//for _, overwrite := range channel.PermissionOverwrites {
|
||||||
// if overwrite.ID == roleID {
|
// if overwrite.ID == roleID {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user