Ver código fonte

FIX: Unwarranted Permission Errors

Drn 2 anos atrás
pai
commit
aecb730362
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      discord.go

+ 1 - 1
discord.go

@@ -778,7 +778,7 @@ func hasPerms(channelID string, permission int64) bool {
 				"Failed to check permissions (%d) for %s:\t%s", permission, channelID, err))
 		}
 	}
-	return false
+	return true
 }
 
 //#endregion